home *** CD-ROM | disk | FTP | other *** search
/ User's Choice Windows CD / User's Choice Windows CD (CMS Software)(1993).iso / win_i_l / incx101a.zip / INC-DOCS.LZH / INCONTXT.DOC < prev    next >
Text File  |  1991-07-17  |  312KB  |  6,843 lines

  1.  
  2.            
  3.  
  4.  
  5.  
  6.  
  7.  
  8.                   +----------------------------------------+
  9.                   |                                        |
  10.                   |                                        |
  11.                   |              User Guide                |
  12.                   |                                        |
  13.                   |             InContext(TM)              |
  14.                   |        Work Environment Manager        |
  15.                   |             Version 1.01               |
  16.                   |                                        |
  17.                   |                  by                    |
  18.                   |                                        |
  19.                   |         H. Rudy Ramsey, Ph.D.          |
  20.                   |                                        |
  21.                   |                                        |
  22.                   +----------------------------------------+
  23.  
  24.                      Copyright 1991 Rams' Island Software
  25.                              All rights reserved
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.                            _______
  39.                       ____|__     |                (R)
  40.                    --|       |    |-------------------
  41.                      |   ____|__  |  Association of
  42.                      |  |       |_|  Shareware
  43.                      |__|   o   |    Professionals
  44.                    -----|   |   |---------------------
  45.                         |___|___|    MEMBER
  46.  
  47.  
  48.  
  49.  
  50.         Rams' Island Software      Voice:      (203) 426-3782
  51.         8 Grand Place              BBS:        (203) 426-2687
  52.         Newtown, CT 06470-2114     CompuServe: 76244,324
  53.         USA                        Internet:   76244.324@COMPUSERVE.COM
  54.                                    FidoNet:    1:141/775
  55.  
  56.  
  57.                                                                             
  58.  
  59.  
  60.  
  61.  
  62.    InContext User Guide                                   TABLE OF CONTENTS
  63.  
  64.  
  65.                              +-------------------+
  66.                              | TABLE OF CONTENTS |
  67.                              +-------------------+
  68.  
  69.  
  70.     ACKNOWLEDGMENTS ....................................................  2
  71.  
  72.     OVERVIEW ...........................................................  2
  73.        Purpose and Features of InContext ...............................  2
  74.        System Requirements .............................................  3
  75.        Registration Information ........................................  3
  76.        License Agreement ...............................................  4
  77.        Limited Warranty ................................................  4
  78.        Technical Support ...............................................  4
  79.           Rams' Island BBS .............................................  5
  80.           CompuServe Information System ................................  5
  81.           Voice Telephone ..............................................  5
  82.           Mail .........................................................  5
  83.        Association of Shareware Professionals ..........................  5
  84.  
  85.     INSTALLATION AND SETUP .............................................  7
  86.        Quick Start .....................................................  7
  87.        How to Install and Start the Program ............................  7
  88.           Installing from Diskette(s) ..................................  8
  89.           Installing from a Hard Drive .................................  8
  90.        How to Start InContext ..........................................  9
  91.        What There Is, and Where ........................................  9
  92.        Application Notes ............................................... 11
  93.  
  94.     PHILOSOPHY OF INCONTEXT ............................................ 12
  95.        What is InContext? .............................................. 12
  96.        Why Integration? ................................................ 12
  97.        Space ........................................................... 13
  98.        Time ............................................................ 13
  99.        Plans ........................................................... 13
  100.        Procedures ...................................................... 14
  101.        Objects, Classes, and Actions ................................... 14
  102.        Activities ...................................................... 15
  103.  
  104.     INTERACTING WITH INCONTEXT ......................................... 16
  105.        How Screen Displays Will Be Shown in this User Guide ............ 16
  106.        The Main Display ................................................ 17
  107.        Other Displays .................................................. 18
  108.        Selecting Things ................................................ 19
  109.           Selecting Things with A Mouse ................................ 19
  110.           Selecting Things Using the Cursor Keys ....................... 19
  111.           Selecting Things Using the Regular Keyboard .................. 20
  112.        Display Scrolling and Paging .................................... 20
  113.           Scrolling and Paging Using the Keyboard ...................... 20
  114.  
  115.  
  116.    InContxt.DOC                      -ii-                       August 1991
  117.  
  118.  
  119.  
  120.  
  121.    InContext User Guide                                   TABLE OF CONTENTS
  122.  
  123.  
  124.           Scrolling and Paging Using the Mouse ......................... 20
  125.        Escaping from Windows ........................................... 21
  126.        Function Keys ................................................... 21
  127.        Help ............................................................ 21
  128.        The InContext Tutorial .......................................... 22
  129.        Editing in InContext ............................................ 22
  130.           Editing Text ................................................. 23
  131.           Editing InContext Options .................................... 25
  132.           Editing Dictionaries ......................................... 26
  133.        The Internal File Viewer ........................................ 27
  134.        The Internal Archive Viewer ..................................... 28
  135.           InContext Makes Special Use of LHA ........................... 29
  136.           Viewing Archives ............................................. 29
  137.  
  138.     OBJECTS AND VIEWS .................................................. 32
  139.        Object Classes .................................................. 32
  140.        Focussing by View and Class ..................................... 34
  141.        Defining the Views .............................................. 37
  142.        Selecting an Object ............................................. 39
  143.        The Objects Display ............................................. 40
  144.           Object Display Formats ....................................... 41
  145.           Object Sort Orders ........................................... 41
  146.  
  147.     SPACE .............................................................. 43
  148.        Spatial Organization ............................................ 43
  149.        Moving from Place to Place ...................................... 44
  150.           The Space Command ............................................ 44
  151.           The Go Display ............................................... 45
  152.           Editing Directory Information ................................ 47
  153.  
  154.     CLASSES AND ACTIONS ................................................ 49
  155.        The Basics of Class Definition .................................. 49
  156.        Creating and Modifying Templates ................................ 50
  157.        Action Lists .................................................... 50
  158.           The Common Action List ....................................... 51
  159.           The Action List for an Individual Class ...................... 52
  160.           The Group Action List ........................................ 53
  161.        Editing the Action Lists ........................................ 54
  162.        How Procedures Work ............................................. 56
  163.           Execution of Procedures ...................................... 56
  164.           A Small Example .............................................. 57
  165.           Variable Substitution ........................................ 58
  166.           Comments in InContext Procedures ............................. 60
  167.           InContext Internal Commands .................................. 60
  168.           Some Example Procedures ...................................... 72
  169.           Macros ....................................................... 74
  170.           Special Macros Used to Control InContext ..................... 75
  171.           Other Macros You May Want to Change .......................... 76
  172.        The Do Display .................................................. 76
  173.  
  174.  
  175.    InContxt.DOC                      -iii-                      August 1991
  176.  
  177.  
  178.  
  179.  
  180.    InContext User Guide                                   TABLE OF CONTENTS
  181.  
  182.  
  183.     TIME, PLANS, AND WORK-IN-PROGRESS .................................. 78
  184.        The Time Command and Display .................................... 78
  185.        What Is a Task? ................................................. 79
  186.           Types of Tasks ............................................... 80
  187.           Repeating Tasks .............................................. 80
  188.           Task Notes ................................................... 81
  189.        Adding and Editing Tasks ........................................ 81
  190.           Setting Up a Repeating Task .................................. 83
  191.           Setting Task Priorities ...................................... 84
  192.           The Note Number .............................................. 84
  193.           Setting a Task Context ....................................... 84
  194.        Selecting a Task ................................................ 85
  195.        Time Information on the Main Display ............................ 86
  196.        The Plans Display ............................................... 87
  197.        The Work-in-Progress Display .................................... 87
  198.           Special Properties of The Current Task ....................... 89
  199.           Selecting Things on the WiP Display .......................... 89
  200.           Popping the Top Item off the WiP Display ..................... 89
  201.           Selecting Today's Tasks ...................................... 90
  202.           Clearing the WiP List ........................................ 90
  203.           Interruptions ................................................ 90
  204.  
  205.     MORE COMMANDS AND OPTIONS .......................................... 91
  206.        More Commands ................................................... 91
  207.        Creating Objects and Directories ................................ 92
  208.        Changing InContext Options ...................................... 93
  209.           Changing the Display Colors .................................. 94
  210.           Changing Disk Drive Options .................................. 95
  211.           Changing Subprogram Execution Options ........................ 97
  212.           Changing Formats and User Information ........................ 99
  213.           Video and Display Options ....................................102
  214.           Miscellaneous Options ........................................103
  215.        Multiple Users ..................................................105
  216.  
  217.     EXAMPLES AND APPLICATION NOTES .....................................107
  218.        Usage Examples and Application Notes ............................107
  219.        A Usage Example: Document Archives ..............................108
  220.           A Simple Approach ............................................108
  221.           Handling Multiple Archives ...................................109
  222.           Automatic Archiving by Class .................................109
  223.           Saving to Desired Archive by Menu Selection ..................110
  224.        A Class AppNote: Lotus 1-2-3 ....................................111
  225.        A Tool AppNote: 4PRINT Laser Print Utility ......................112
  226.  
  227.  
  228.  
  229.  
  230.  
  231.  
  232.  
  233.  
  234.    InContxt.DOC                      -iv-                       August 1991
  235.  
  236.  
  237.  
  238.  
  239.    InContext User Guide                                     ACKNOWLEDGMENTS
  240.  
  241.  
  242.     
  243.                               +-----------------+
  244.                               | ACKNOWLEDGMENTS |
  245.                               +-----------------+
  246.  
  247.  
  248.  
  249.       Sincere thanks are expressed to:
  250.  
  251.          o  My  family  and  friends,  for  encouraging  the concept -- and
  252.             tolerating the reality -- of the long and  arduous  development
  253.             process.
  254.  
  255.          o  Our  beta  testers, many of whom are members of the Connecticut
  256.             PC User's Group, the Danbury  Area  Computer  Society,  or  the
  257.             Association of Shareware Professionals.
  258.  
  259.          o  The  CompuServe  community -- especially the SHAREWARE, IBMPRO,
  260.             and WORK forums -- for providing a  collegial  atmosphere,  and
  261.             for many instances of selfless sharing and enthusiastic help.
  262.  
  263.                                                         -RR-
  264.  
  265.  
  266.  
  267.  
  268.       InContext  is  written  in  Microsoft C 5.1 and assembly language. It
  269.       swaps itself out of memory during execution of other  programs  using
  270.       the "Hold Everything" package, by South Mountain Software.
  271.  
  272.  
  273.  
  274.  
  275.       "Rams' Island" and the Rams' Island logo are registered trademarks of
  276.       Rams' Island Software.
  277.  
  278.       "InContext" is a trademark of Rams' Island Software.
  279.  
  280.       Program  and  Documentation Copyright 1991 Rams' Island Software. All
  281.       rights reserved.
  282.  
  283.  
  284.  
  285.            1-2-3 is a trademark of Lotus Development Corporation.
  286.            4PRINT is a trademark of Korenthal Associates.
  287.            BRIEF is a trademark of UnderWare, Inc.
  288.            DESQview is a trademark of Quarterdeck Office Systems.
  289.            MS-DOS is a trademark of Microsoft Corporation.
  290.  
  291.  
  292.  
  293.    InContxt.DOC                       -2-                       August 1991
  294.  
  295.  
  296.  
  297.  
  298.    InContext User Guide                                            OVERVIEW
  299.  
  300.  
  301.        
  302.                                  +----------+
  303.                                  | OVERVIEW |
  304.                                  +----------+
  305.  
  306.  
  307.  
  308.    Purpose and Features of InContext
  309.    ---------------------------------
  310.  
  311.       Welcome to the InContext(TM) Work Environment Manager!
  312.  
  313.       InContext is designed to help you get the most out of your IBM PC  or
  314.       compatible  system.  The purpose of InContext is to help you create a
  315.       smoothly integrated computer-based work  environment,  organized  ac-
  316.       cording to YOUR needs and activities.
  317.  
  318.       You're probably quite accustomed to using your computer to WORK. It's
  319.       unlikely,  though,  that you are realizing the full potential of your
  320.       computer to help you ORGANIZE and MANAGE that work, and the space and
  321.       files it involves. InContext helps you organize  your  computer-based
  322.       work  environment  YOUR  way, and allows you to work more efficiently
  323.       there.
  324.  
  325.       InContext provides many of the features of a "DOS shell", but it does
  326.       much more. InContext provides:
  327.  
  328.          o  Ability to associate locations in  your  directory  space  with
  329.             meaningful names and phrases, moving among commonly used direc-
  330.             tories with one or two keystrokes or a single mouse selection.
  331.  
  332.          o  Ability to easily home in on the right materials, selecting and
  333.             operating  on  a  whole directory, a user-defined "View" within
  334.             that directory, a specified type of file, or a single file.
  335.  
  336.          o  Object-oriented behavior, allowing you to point at  a  filename
  337.             or  a  group  of files and select any of several operations ap-
  338.             propriate for  the  file  type.  These  operations  are  easily
  339.             definable  by  the  user, and are ABSOLUTELY NOT limited to the
  340.             ordinary DOS operations and viewer invocations.
  341.  
  342.          o  Genuinely integrated planning and calendar functions. InContext
  343.             has a rather nice calendar function that  allows  you  to  keep
  344.             track  of your appointments, to-do items, project work, etc. It
  345.             includes automatic aging, logging, repeating  tasks,  and  many
  346.             other features of the better calendar programs. More important,
  347.             though,  it  is INTEGRATED with the other functions of the work
  348.             environment. Thus, you can define a  task  that  you  do  every
  349.             Tuesday,  and  associate  it  with  particular  files, and even
  350.  
  351.  
  352.    InContxt.DOC                       -2-                       August 1991
  353.  
  354.  
  355.  
  356.  
  357.    InContext User Guide                                            OVERVIEW
  358.  
  359.  
  360.             actions, in a particular directory. Noticing on  your  calendar
  361.             that  the task is on today's schedule, you can select it with a
  362.             single operation, and find yourself actually doing the  defined
  363.             work.  Incomplete  work remains active until you specify other-
  364.             wise, and completed work is logged for later reference.
  365.  
  366.  
  367.       InContext has many other useful features for  helping  you  work  (or
  368.       play) on your computer.
  369.  
  370.  
  371.    System Requirements
  372.    -------------------
  373.  
  374.       The  InContext  Work Environment Manager runs on IBM XT, AT, 386, 486
  375.       or fully compatible computers. It supports MDA, CGA,  Hercules,  EGA,
  376.       MCGA,  and  VGA graphics adapters. It requires DOS 3.0 or above and a
  377.       hard disk. At least 512K of RAM  is  recommended,  though  less  will
  378.       suffice if appropriate configuration options are selected.
  379.  
  380.  
  381.    Registration Information
  382.    ------------------------
  383.  
  384.       InContext  is  a  shareware  program. This means that you can try the
  385.       program out for a reasonable period (30 days) before deciding whether
  386.       or not to buy it. It does not mean that the program is free  or  that
  387.       it  is in the public domain. Rams' Island Software owns the copyright
  388.       on this program, and reserves all rights in the program,  help  text,
  389.       user's manual, etc.
  390.  
  391.       Because  the  program  is  shareware, you have the opportunity to see
  392.       whether or not it satisfies your needs before you decide to invest in
  393.       it. We encourage you to fully explore the program, and even  to  call
  394.       us  for  support  if  it  will  help  you evaluate it. We do require,
  395.       though, that you register  and  pay  the  registration  fee  for  the
  396.       program  if  you  decide  to  continue  using it after the evaluation
  397.       period.
  398.  
  399.       Legalities and ethics aside, there are several  real  benefits  which
  400.       you  will  receive  when  you  register the program. Registered users
  401.       receive:
  402.  
  403.          o  A high-quality,  typeset  User  Guide,  with  many  full-screen
  404.             displays and other graphics, and fully indexed.
  405.  
  406.          o  Additional support materials for handling a variety of applica-
  407.             tion programs.
  408.  
  409.  
  410.  
  411.    InContxt.DOC                       -3-                       August 1991
  412.  
  413.  
  414.  
  415.  
  416.    InContext User Guide                                            OVERVIEW
  417.  
  418.  
  419.          o  Product support by phone, BBS, CompuServe, and regular mail for
  420.             a  minimum  of three months (current policy, though changeable,
  421.             has no duration limit).
  422.  
  423.          o  Access to registered-user section of product support  BBS,  and
  424.             to additional support materials maintained there.
  425.  
  426.          o  Announcements of updates, obtainable at reduced cost.
  427.  
  428.          o  Occasional  newsletters  with  tips about use of InContext, an-
  429.             nouncements of upgrades, etc.
  430.  
  431.          o  Elimination  of  the  "shareware"  messages  displayed  by  the
  432.             program.
  433.  
  434.  
  435.       See  the  file  REGISTER.DOC for details about ordering InContext. If
  436.       you have difficulty finding that file, please contact us  by  any  of
  437.       the means shown under "Technical Support", below.
  438.  
  439.  
  440.    License Agreement
  441.    -----------------
  442.  
  443.       See  the  file  LICENSE.DOC  for the terms under which you may use or
  444.       distribute copies of InContext.
  445.  
  446.  
  447.    Limited Warranty
  448.    ----------------
  449.  
  450.       See the file WARRANTY.DOC for warranty information.
  451.  
  452.  
  453.    Technical Support
  454.    -----------------
  455.  
  456.       Rams' Island Software is committed to  the  active  support  of  this
  457.       product.  While  we  try  very  hard to make our software useable and
  458.       reliable, there will undoubtedly be  cases  in  which  a  user  needs
  459.       special    help    because    of   difficulties   with   the   user's
  460.       hardware/software environment or  bugs  in  the  software.  On  those
  461.       occasions, we'll try to help.
  462.  
  463.       If  you  have a problem with installation or use of this product, and
  464.       the documentation doesn't provide the help you need, you are  welcome
  465.       to  contact  us.  You  can  do this any of several ways, as described
  466.       below. We prefer support via BBS or electronic  mail,  as  it  allows
  467.       both you and us to communicate at convenient times regardless of time
  468.  
  469.  
  470.    InContxt.DOC                       -4-                       August 1991
  471.  
  472.  
  473.  
  474.  
  475.    InContext User Guide                                            OVERVIEW
  476.  
  477.  
  478.       zones  and work schedules, and it provides a record of the communica-
  479.       tion. However,  telephone  support  is  also  provided,  should  that
  480.       satisfy your needs better.
  481.  
  482.  
  483.       Rams' Island BBS
  484.       ----------------
  485.       The Rams' Island BBS is a bulletin board system, accessible to you if
  486.       if  you have a modem and communication software. On our BBS, you will
  487.       always find the latest version of the program, and you will  be  able
  488.       to  ask  technical  questions  of  us and of our other users. We also
  489.       offer additional utilities, class definitions, application notes, and
  490.       other assistance to registered users  via  the  BBS.  The  BBS  phone
  491.       number is 203-426-2687.
  492.  
  493.  
  494.       CompuServe Information System
  495.       -----------------------------
  496.       We  also  support  this product on the CompuServe information system.
  497.       The latest version of the program is always available  there  on  the
  498.       IBMSYS  forum,  and  technical  questions and support requests may be
  499.       sent to us via electronic mail there (our user ID is 76244,324).
  500.  
  501.  
  502.       Voice Telephone
  503.       ---------------
  504.       You may reach us by voice telephone at 203-426-3782. The best time to
  505.       call is on Monday through Friday between 9:00  A.M.  and  3:00  P.M.,
  506.       Eastern  Time.  We  will  respond to telephone messages as quickly as
  507.       possible, but may require 48 hours or more depending on the  workload
  508.       and the timing of your call.
  509.  
  510.  
  511.       Mail
  512.       ----
  513.       You  may  contact us by mail at Rams' Island Software, 8 Grand Place,
  514.       Newtown, Connecticut 06470.
  515.  
  516.  
  517.    Association of Shareware Professionals
  518.    --------------------------------------
  519.  
  520.       H. Rudy Ramsey and Rams' Island Software are members of the  Associa-
  521.       tion  of  Shareware Professionals (ASP). ASP was formed in April 1987
  522.       to strengthen shareware as a method  of  marketing  and  distributing
  523.       software  without  the attendant high marketing costs common in "com-
  524.       mercial" software. The members of ASP are, as a condition of  member-
  525.       ship,  committed  to  a code of ethics and a set of shareware quality
  526.       standards. Rams' Island Software is fully committed to  those  stand-
  527.  
  528.  
  529.    InContxt.DOC                       -5-                       August 1991
  530.  
  531.  
  532.  
  533.  
  534.    InContext User Guide                                            OVERVIEW
  535.  
  536.  
  537.       ards. See the file SHR-WARE.DOC for more information about ASP.
  538.  
  539.         %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  540.         %                                                                %
  541.         %                 ASP Ombudsman Information                      %
  542.         %                                                                %
  543.         %  This program is produced by a member of the Association of    %
  544.         %  Shareware Professionals (ASP).  ASP wants to make sure that   %
  545.         %  the shareware principle works for you.  If you are unable     %
  546.         %  to resolve a shareware-related problem with an ASP member     %
  547.         %  by contacting the member directly, ASP may be able to help.   %
  548.         %  The ASP ombudsman can help you resolve a dispute or problem   %
  549.         %  with an ASP member, but does not provide technical support    %
  550.         %  for members' products.  Please write to the ASP Ombudsman at: %
  551.         %     ASP Ombudsman                  _______                     %
  552.         %     545 Grover Road           ____|__     |                (R) %
  553.         %     Muskegon, MI  49442    --|       |    |------------------- %
  554.         %  or send a Compuserve        |   ____|__  |  Association of    %
  555.         %  message via Easyplex        |  |       |_|  Shareware         %
  556.         %  electronic mail to the      |__|   o   |    Professionals     %
  557.         %  ASP Ombudsman, Compuserve -----|   |   |--------------------- %
  558.         %  ID number 70475,1071.          |___|___|    MEMBER            %
  559.         %                                                                %
  560.         %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  561.  
  562.  
  563.  
  564.  
  565.  
  566.  
  567.  
  568.  
  569.  
  570.  
  571.  
  572.  
  573.  
  574.  
  575.  
  576.  
  577.  
  578.  
  579.  
  580.  
  581.  
  582.  
  583.  
  584.  
  585.  
  586.  
  587.  
  588.    InContxt.DOC                       -6-                       August 1991
  589.  
  590.  
  591.  
  592.  
  593.    InContext User Guide                              INSTALLATION AND SETUP
  594.  
  595.  
  596.        
  597.                           +------------------------+
  598.                           | INSTALLATION AND SETUP |
  599.                           +------------------------+
  600.  
  601.  
  602.  
  603.    Quick Start
  604.    -----------
  605.  
  606.       If  you're the type of person who likes to just fire up a program and
  607.       try it, rather than reading the manual, it is suggested that  you  do
  608.       the following steps, in the order given:
  609.  
  610.          o  Install  the program, following the instructions in the rest of
  611.             this chapter.
  612.  
  613.          o  Run the program, using the command "inc".  Note  that,  if  you
  614.             chose  an  installation directory other than "C:\INCONTXT", you
  615.             must add the full pathname  of  that  directory  to  the  "inc"
  616.             command line. An example is "inc d:\myplace".
  617.  
  618.          o  Make liberal use of the F1 ("Help") key. In particular, try the
  619.             tutorial  (type "H" or F1 for help, and then "T" for tutorial).
  620.             If you're the "quick start" type, you might want to  just  skim
  621.             the materials covered in the tutorial.
  622.  
  623.  
  624.       You  may  find  that  you  can  do quite a bit without consulting the
  625.       manual further, or reading the help  text  seriously.  As  with  most
  626.       programs,  though,  a  little  time spent reading the manual or going
  627.       through the tutorial will almost certainly reward you well. InContext
  628.       is a program that can be approached  at  many  levels.  Its  simplest
  629.       functions  are  available  to  the  novice  user with little study or
  630.       effort. Its most sophisticated functions will require effort on  your
  631.       part, but will yield substantial power and flexibility in return.
  632.  
  633.  
  634.    How to Install and Start the Program
  635.    ------------------------------------
  636.  
  637.       The installation procedure for InContext is quite simple. The package
  638.       includes   a  program,  "INSTALL.EXE",  which  automates  the  entire
  639.       process. You will also need about 1M of available disk space  on  the
  640.       hard  drive on which you plan to install InContext. After the instal-
  641.       lation, you can  implement  space-saving  measures  to  substantially
  642.       reduce  the amount of continuing disk space used by InContext, if you
  643.       like.
  644.  
  645.  
  646.  
  647.    InContxt.DOC                       -7-                       August 1991
  648.  
  649.  
  650.  
  651.  
  652.    InContext User Guide                              INSTALLATION AND SETUP
  653.  
  654.  
  655.       The exact steps you need to take will  depend  on  how  you  received
  656.       InContext.
  657.  
  658.  
  659.       Installing from Diskette(s)
  660.       ---------------------------
  661.       To install from diskette(s), you need to perform the following steps.
  662.  
  663.          o  Place  InContext  distribution  diskette  "Disk  1"  in the ap-
  664.             propriate diskette drive.
  665.  
  666.          o  Execute the "INSTALL.EXE" program on the distribution diskette.
  667.             For example, if the distribution diskette is on drive A:,  type
  668.             the MS-DOS command, "a:install".
  669.  
  670.          o  Follow  the instructions presented by the installation program.
  671.             You will have a  chance  to  approve  installation  before  any
  672.             changes  are  actually made to the contents of your hard drive.
  673.             The program will ask you for a destination directory, and  will
  674.             copy  the  InContext  files  to that directory. If you received
  675.             InContext on two diskettes, you will need to insert Disk  2  in
  676.             the  diskette  drive  when asked to do so. If you so direct it,
  677.             the installation program will install executable  programs  and
  678.             documentation in other directories of your choice. It will make
  679.             no  other  changes;  specifically,  it  will  not  modify  your
  680.             autoexec.bat or config.sys files.
  681.  
  682.          o  Make sure all the executable programs you've  unpacked  are  in
  683.             your  path.  If  you chose to move the executable programs to a
  684.             directory that is already on your path, no  special  action  is
  685.             required.  If you left the executables in the InContext instal-
  686.             lation directory, you should add that directory  to  your  path
  687.             and reboot the computer.
  688.  
  689.  
  690.  
  691.       Installing from a Hard Drive
  692.       ----------------------------
  693.       If you downloaded InContext from a BBS (or received it in the form of
  694.       archive  files  from some other source), you will need to perform the
  695.       following steps.
  696.  
  697.          o  Extract the contents of the  archive  file(s)  in  a  temporary
  698.             directory  on  your  hard  drive.  The procedure for doing this
  699.             varies, depending  on  the  form  in  which  you  received  the
  700.             package.  In all likelihood, the fact that you are reading this
  701.             text means that  you  already  have  the  necessary  tools  and
  702.             knowledge  to  perform this step. If not, you should be able to
  703.             obtain directions for this from the same source from which  you
  704.  
  705.  
  706.    InContxt.DOC                       -8-                       August 1991
  707.  
  708.  
  709.  
  710.  
  711.    InContext User Guide                              INSTALLATION AND SETUP
  712.  
  713.  
  714.             received the package.
  715.  
  716.          o  Execute the "INSTALL.EXE" program which you have extracted. For
  717.             example,  if  the  temporary  directory into which you have ex-
  718.             tracted the InContext package is C:\TEMPDIR, you would  execute
  719.             the MS-DOS command, "c:\tempdir\install".
  720.  
  721.          o  Follow  the instructions presented by the installation program.
  722.             You will have a  chance  to  approve  installation  before  any
  723.             changes  are  actually made to the contents of your hard drive.
  724.             The program will ask you for a destination directory, and  will
  725.             copy  the  InContext  files to that directory. If you so direct
  726.             it, the installation program will install  executable  programs
  727.             and  documentation in other directories of your choice. It will
  728.             make no other changes; specifically, it will  not  modify  your
  729.             autoexec.bat or config.sys files.
  730.  
  731.          o  Make  sure  all  the executable programs you've unpacked are in
  732.             your path. If you chose to move the executable  programs  to  a
  733.             directory  that  is  already on your path, no special action is
  734.             required. If you left the executables in the InContext  instal-
  735.             lation  directory,  you  should add that directory to your path
  736.             and reboot the computer.
  737.  
  738.          o  When you're satisfied that the installation was successful, you
  739.             should delete the temporary directory FROM which you  installed
  740.             InContext  (C:\TEMPDIR, in the above discussion), including all
  741.             its contents.
  742.  
  743.  
  744.  
  745.    How to Start InContext
  746.    ----------------------
  747.  
  748.       You're ready to go. Start InContext with  the  command,  "inc"  (this
  749.       invokes  the  batch  file, "INC.BAT"). Note that, if you chose an in-
  750.       stallation directory other than "C:\INCONTXT", you must add the  full
  751.       pathname  of  that directory to the "inc" command line. An example is
  752.       "inc d:\myplace".
  753.  
  754.  
  755.    What There Is, and Where
  756.    ------------------------
  757.  
  758.       The behavior of InContext is controlled by the objects in  a  special
  759.       directory   devoted  to  that  purpose.  This  directory  is  usually
  760.       "C:\INCONTXT", but it can be any directory of  your  choice.  In  any
  761.       case,  it  should  be  a  separate directory, not including materials
  762.       unrelated to InContext.
  763.  
  764.  
  765.    InContxt.DOC                       -9-                       August 1991
  766.  
  767.  
  768.  
  769.  
  770.    InContext User Guide                              INSTALLATION AND SETUP
  771.  
  772.  
  773.       This directory initially contains:
  774.  
  775.          o  A number of documentation files, with filename extension "doc".
  776.             You may choose to print these or read them on-line. They may be
  777.             deleted from the disk, when you're finished with them.
  778.  
  779.          o  A set of "action definition"  files,  with  filename  extension
  780.             "act".  These  files  may  be compressed together in an archive
  781.             file, "actions.lzh". This would reduce disk  usage,  but  would
  782.             result in a delay each time one is needed.
  783.  
  784.          o  A set of "template" files, with filename extension "tpl". These
  785.             files   may   be   compressed  together  in  an  archive  file,
  786.             "template.lzh". This would reduce disk usage, but would  result
  787.             in a delay each time one is needed.
  788.  
  789.          o  A  set  of  "help"  files, with filename extension "hlp". These
  790.             files  may  be  compressed  together  in   an   archive   file,
  791.             "help.lzh". This would reduce disk usage, but would result in a
  792.             delay each time one is needed.
  793.  
  794.          o  A file that defines object "views" (xxxviews.dic).
  795.  
  796.          o  The   program   files   themselves,  including  "incontxt.exe",
  797.             "inc.bat", and "errmsg.dat". The public-domain archive program,
  798.             "lha.exe", may also be here.
  799.  
  800.          o  An archived collection of "application notes" ("appnotes.lzh").
  801.             See the next section for more information.
  802.  
  803.  
  804.       In addition, the following files may be created during  execution  of
  805.       InContext.
  806.  
  807.          o  A  configuration  file  (xxxconfg.dat),  containing information
  808.             about the user and the user's preferences.
  809.  
  810.          o  A plans file (xxxplans.dat) containing information on tasks and
  811.             calendar entries you have defined.
  812.  
  813.          o  A set of log files, with filename extension "log". These  files
  814.             represent completed tasks.
  815.  
  816.          o  A set of task notes files, with filename extension "not".
  817.  
  818.          o  A  file  that  controls  the  next-assigned  task  note  number
  819.             (nextnote.dat).
  820.  
  821.          o  A file that defines special procedures you want to be  able  to
  822.  
  823.  
  824.    InContxt.DOC                      -10-                       August 1991
  825.  
  826.  
  827.  
  828.  
  829.    InContext User Guide                              INSTALLATION AND SETUP
  830.  
  831.  
  832.             execute easily (xxxdofil.dic).
  833.  
  834.          o  A  file that defines special directories you want to be able to
  835.             get to easily (xxxgofil.dic).
  836.  
  837.  
  838.  
  839.    Application Notes
  840.    -----------------
  841.  
  842.       The archive file "appnotes.lzh" contains a set of "Application Notes"
  843.       about supporting various applications or object  classes,  or  making
  844.       use  of  other  programs as tools. Each application note is itself an
  845.       LHA archive with the filename extension, "app".  You  should  take  a
  846.       look at these after you've become familiar with InContext. To look at
  847.       one,  simply  extract  it from the appnotes archive and then edit it.
  848.       These instructions may not be clear if you're not yet  familiar  with
  849.       InContext.
  850.  
  851.       The  appnotes  archive  provided with InContext is a starter set, in-
  852.       tended to convey the idea. Others are provided  with  the  registered
  853.       version  of  InContext,  and  are  available on our BBS. As a user of
  854.       InContext, you may choose to contribute to  our  store  of  supported
  855.       applications,  by  preparing  an  application  note  for a program or
  856.       object type in which you have a special interest.
  857.  
  858.  
  859.  
  860.  
  861.  
  862.  
  863.  
  864.  
  865.  
  866.  
  867.  
  868.  
  869.  
  870.  
  871.  
  872.  
  873.  
  874.  
  875.  
  876.  
  877.  
  878.  
  879.  
  880.  
  881.  
  882.  
  883.    InContxt.DOC                      -11-                       August 1991
  884.  
  885.  
  886.  
  887.  
  888.    InContext User Guide                             PHILOSOPHY OF INCONTEXT
  889.  
  890.  
  891.        
  892.                           +-------------------------+
  893.                           | PHILOSOPHY OF INCONTEXT |
  894.                           +-------------------------+
  895.  
  896.  
  897.  
  898.    What is InContext?
  899.    ------------------
  900.  
  901.       The InContext(TM) Work Environment Manager is an integrated  software
  902.       package which includes:
  903.  
  904.           1. Directory and file management.
  905.  
  906.           2. Menu generation and management.
  907.  
  908.           3. Object-oriented behavior, rarely seen under MS-DOS.
  909.  
  910.           4. Task planning capability.
  911.  
  912.           5. Calendar management, display, and printing.
  913.  
  914.       You have undoubtedly seen individual tools that address most of these
  915.       areas.  InContext  provides  excellent  capability  in  each of these
  916.       areas, and might very well become your program of choice even if  you
  917.       make  use  of only one or two. Its real power, though, comes from its
  918.       smooth integration of these various capabilities.
  919.  
  920.  
  921.    Why Integration?
  922.    ----------------
  923.  
  924.       When you work (or play), you deal with space, time,  plans,  and  ob-
  925.       jects.  They  provide  the context in which you work. In the physical
  926.       world, you deal with these things very naturally, often without  even
  927.       noticing  them.  They  are well integrated, and you move smoothly and
  928.       freely from one to another. This is  not  true  when  you  work  with
  929.       computers,  though. The tools that support planning, file management,
  930.       and menu execution have been largely independent, dissimilar, and not
  931.       easy to use together.
  932.  
  933.       The InContext Work Environment Manager provides  integrated  computer
  934.       support  for  these and other aspects of work. The effect is to allow
  935.       you to manage your calendar, manage your files and disk space, create
  936.       and execute plans, and perform unplanned work on your  computer,  all
  937.       with  the aid of a program that "understands" how these things relate
  938.       to one another.
  939.  
  940.  
  941.  
  942.    InContxt.DOC                      -12-                       August 1991
  943.  
  944.  
  945.  
  946.  
  947.    InContext User Guide                             PHILOSOPHY OF INCONTEXT
  948.  
  949.  
  950.    Space
  951.    -----
  952.  
  953.       When you work on a computer, the "space"  in  which  your  tools  and
  954.       materials are organized consists of directories on your disks. InCon-
  955.       text  allows you to move around this space, using a tree-like graphi-
  956.       cal display of the sort you may  have  seen  in  "hard-disk  manager"
  957.       programs. But it provides much more.
  958.  
  959.       InContext will make it easy for you to organize your directories in a
  960.       way  that  truly  supports  your  work. Directories in which you fre-
  961.       quently work can be given meaningful names, and you  can  move  among
  962.       them  with  one  or  two  keystrokes or a single mouse selection. The
  963.       ability to concentrate on these "work" places, and  to  carry  things
  964.       with you as you move around, give InContext a natural spatial charac-
  965.       ter.
  966.  
  967.  
  968.    Time
  969.    ----
  970.  
  971.       Your  work also occurs in a time context. You may have an appointment
  972.       at 2:30, a deadline tomorrow, a bill due the 20th of every month, and
  973.       a small project which you expect to be working on from next Wednesday
  974.       until the following Tuesday. Simple  calendars  --  either  paper  or
  975.       electronic -- can certainly help you organize your activities. But if
  976.       you  do a lot of your work on your computer, real power can be gained
  977.       from integrating time with both planning and working tools.
  978.  
  979.       InContext allows you to keep an  ordinary  electronic  calendar  with
  980.       appointments,  birthdays,  meetings,  etc. It also allows you to plan
  981.       your activities (see below). It then uses this information to present
  982.       various "time views", such as:
  983.  
  984.           1. "Things to Do Today", including  both  scheduled  appointments
  985.              and action items.
  986.  
  987.           2. A calendar for March
  988.  
  989.           3. A log of tasks completed and appointments kept last week.
  990.  
  991.  
  992.  
  993.    Plans
  994.    -----
  995.  
  996.       When  you  work,  you  also  create and execute "plans". Plans can be
  997.       informal ("around 5:30, I'm going  to  start  fixing  supper"),  very
  998.       formal,  or  anything  in  between.  They may not even specify a time
  999.  
  1000.  
  1001.    InContxt.DOC                      -13-                       August 1991
  1002.  
  1003.  
  1004.  
  1005.  
  1006.    InContext User Guide                             PHILOSOPHY OF INCONTEXT
  1007.  
  1008.  
  1009.       ("build a bookshelf"). Plans often have a hierarchic  structure,  and
  1010.       this has led to many "outline"-style planning tools.
  1011.  
  1012.       You  don't  have to build any plans in order to make effective use of
  1013.       InContext. But InContext allows you  to  easily  construct  plans  of
  1014.       widely  varying  formality.  More important, it integrates your plans
  1015.       with your calendar, and even with the execution of any work that  you
  1016.       perform on your computer (see "Activities", below).
  1017.  
  1018.  
  1019.    Procedures
  1020.    ----------
  1021.  
  1022.       A  procedure  is  just a series of steps, like a recipe. You probably
  1023.       have many procedures that you execute frequently.  Perhaps  you  have
  1024.       built  DOS  batch files to help you execute procedures without having
  1025.       to remember and manually key in the commands over and  over.  Perhaps
  1026.       you even use a menu tool to make this easier.
  1027.  
  1028.       InContext  allows  you  to define procedures easily. It allows you to
  1029.       invoke the procedures  much  more  easily,  often  with  one  or  two
  1030.       keystrokes  or  a  single  mouse selection. It also lets you interact
  1031.       more with the procedure during its execution.
  1032.  
  1033.  
  1034.    Objects, Classes, and Actions
  1035.    -----------------------------
  1036.  
  1037.       In the ordinary, physical world,  objects  and  their  behaviors  are
  1038.       closely tied. To "drink from a coffee cup", or to "write with a pen",
  1039.       you  don't have to remember artificial associations; you just perform
  1040.       the actions. In the electronic domain, the "objects"  are  files,  or
  1041.       sets  of files. In using the computer, though, you frequently have to
  1042.       remember things like "to edit the document, I type 'b mydoc.txt', and
  1043.       to print it, I type 'wordix -dhplaser mydoc.txt'".
  1044.  
  1045.       In InContext, simply pointing at an object causes a list of  relevant
  1046.       actions  to  appear,  and  selecting  one  causes its execution. This
  1047.       results in much more fluid interaction with the computer, and is much
  1048.       less demanding of the user, even though the user is  still  in  total
  1049.       control. Because you can easily extend the defined actions to provide
  1050.       specialized  behavior  for  different object "classes" and to include
  1051.       very sophisticated operations, this style of  interaction  works  for
  1052.       sophisticated users, as well as for novices.
  1053.  
  1054.  
  1055.  
  1056.  
  1057.  
  1058.  
  1059.  
  1060.    InContxt.DOC                      -14-                       August 1991
  1061.  
  1062.  
  1063.  
  1064.  
  1065.    InContext User Guide                             PHILOSOPHY OF INCONTEXT
  1066.  
  1067.  
  1068.    Activities
  1069.    ----------
  1070.  
  1071.       The real point of all this, though, is to make it easy to do the work
  1072.       itself.  By selecting a single item in your plan or calendar, you may
  1073.       find yourself automatically switched into the  correct  spatial  con-
  1074.       text, and focussed on the right object or object set. If appropriate,
  1075.       a specific procedure may even be executed automatically. If, in doing
  1076.       this,  you complete the planned activity, your calendar and plan will
  1077.       be appropriately updated. Almost  as  much  power  is  available  for
  1078.       performing  unplanned  work.  You  may  even  find  your  concept  of
  1079.       computer-supported "work" changed.
  1080.  
  1081.       InContext has a rich help and on-line  tutorial  system.  With  addi-
  1082.       tional  special  features  for  handling multiple contexts, interrup-
  1083.       tions, encapsulation of other programs, etc.,  InContext  is  a  very
  1084.       complete "Work Environment Manager".
  1085.  
  1086.  
  1087.  
  1088.  
  1089.  
  1090.  
  1091.  
  1092.  
  1093.  
  1094.  
  1095.  
  1096.  
  1097.  
  1098.  
  1099.  
  1100.  
  1101.  
  1102.  
  1103.  
  1104.  
  1105.  
  1106.  
  1107.  
  1108.  
  1109.  
  1110.  
  1111.  
  1112.  
  1113.  
  1114.  
  1115.  
  1116.  
  1117.  
  1118.  
  1119.    InContxt.DOC                      -15-                       August 1991
  1120.  
  1121.  
  1122.  
  1123.  
  1124.    InContext User Guide                          INTERACTING WITH INCONTEXT
  1125.  
  1126.  
  1127.        
  1128.                         +----------------------------+
  1129.                         | INTERACTING WITH INCONTEXT |
  1130.                         +----------------------------+
  1131.  
  1132.  
  1133.  
  1134.    How Screen Displays Will Be Shown in this User Guide
  1135.    ----------------------------------------------------
  1136.  
  1137.       The  figure  below shows a sample portion of an InContext screen dis-
  1138.       play. The actual displays of InContext use several colors or  bright-
  1139.       ness  levels  to  help differentiate information and to help separate
  1140.       screen areas. They also use the PC graphical character set, which  is
  1141.       much  more effective at drawing windows than the normal ASCII charac-
  1142.       ter set. Unfortunately, this on-disk User Guide must  be  written  in
  1143.       normal  ASCII  characters  in order to allow you to print it, even if
  1144.       your printer doesn't support colors or the PC  graphical  characters.
  1145.       It  is extremely difficult to do justice to the actual displays while
  1146.       restricting the document to these printable characters.
  1147.  
  1148.            %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  1149.            %                                                           %
  1150.            %                    |                                   |  %
  1151.            %   Hours     WiP    |  Views  Class   Objects   Actions |  %
  1152.            %   6 ....           | ALL      ALL copyrite.txt Edit    |  %
  1153.            %   7 ....           | Archive  apt  history.txt View    |  %
  1154.            %   8 ....           | Chess    doc introasc.txt Archive |  %
  1155.            %   9 ....           | Document fmt  pctutil.txt Bedit   |  %
  1156.            %  10 ....           |                             py    |  %
  1157.            %  11 ....   ==Is=it=OK=to=delete="picture.txt"?==  ete  |  %
  1158.            %  12p....   | No #                              |  t    |  %
  1159.            %   1 .ddd   | Yes                               |  ame  |  %
  1160.            %   2 dddd   +-----------------------------------+  e    |  %
  1161.            %   3 dddd           |                             ort   |  %
  1162.            %   4 dddd           | Programs wdx              4print  |  %
  1163.            %   5 dddd           | Source                    Print   |  %
  1164.            %                                                           %
  1165.            %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  1166.  
  1167.       Accordingly, it has been necessary to take some  liberties  with  the
  1168.       displays, sometimes changing characters, or deleting them altogether,
  1169.       in order to help you understand the structure of the displays. In the
  1170.       example  above,  a small pop-up window is shown, asking the question,
  1171.       "Is it OK to delete 'picture.txt'?" The top line of the  window,  and
  1172.       the  box on its other three sides, are normally a different color, to
  1173.       help set them off from the rest of the display.  The  effect  of  the
  1174.       window is suggested here by using "=" characters across the top line,
  1175.       drawing the other three sides with "|" and "-" characters, and clear-
  1176.  
  1177.  
  1178.    InContxt.DOC                      -16-                       August 1991
  1179.  
  1180.  
  1181.  
  1182.  
  1183.    InContext User Guide                          INTERACTING WITH INCONTEXT
  1184.  
  1185.  
  1186.       ing  out most of the surrounding area so it stands out. Incidentally,
  1187.       the "#" character represents the current position of the cursor.
  1188.  
  1189.       These conventions are artificial, but seem to be about  the  best  we
  1190.       can do with this limited medium. You might well find the on-line help
  1191.       system  and  tutorial  more effective, but we've provided this manual
  1192.       for those who prefer this format. For your  information,  though,  we
  1193.       believe our on-line help system to be among the best in the industry.
  1194.       It might be worth your trouble to take a look at it before continuing
  1195.       to  use  this manual. The same information, essentially, is presented
  1196.       in the help system as in this User  Guide.  Another  alternative,  of
  1197.       course,  is  to  register  InContext and use the hardcopy User Guide,
  1198.       which has much more effective screen displays and other graphics. Our
  1199.       money-back guarantee makes that a risk-free approach.
  1200.  
  1201.  
  1202.    The Main Display
  1203.    ----------------
  1204.  
  1205.       The figure below shows the upper-left portion of the  InContext  dis-
  1206.       play.
  1207.  
  1208.       %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  1209.       %                                                                   %
  1210.       %   Dir: Alice Ramsey Personal Center -- ALICE                      %
  1211.       %   Drive: C   View: Document  Class: doc   Object: afhsmin.doc     %
  1212.       %  =Space==Time==Plans==WiP====View==Class==Object==Action====Go==  %
  1213.       %  |                            |                                   %
  1214.       %  | Today     Hours     WiP    |  Views  Class   Objects   Action  %
  1215.       %  | new age  12a....           | ALL      ALL  admnnot.doc Edit    %
  1216.       %  |*apps====  1 ....           | Archive  apt  afhsmin.doc View    %
  1217.       %  |*docs====  2 ....           | Chess    doc  afhsnot#doc Archiv  %
  1218.       %  |*help====  3 ....           | Document fmt   bksale.doc Bedit   %
  1219.       %                                                                   %
  1220.       %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  1221.  
  1222.       The  InContext  display  has four main areas. You can see portions of
  1223.       the top three in the figure.
  1224.  
  1225.          o  The Context Area consists of the top two lines of the  display.
  1226.             It shows where you are in space, the current date and time, and
  1227.             the materials and task you're currently focussing on.
  1228.  
  1229.          o  The  Command Bar, the third line of the display, shows the main
  1230.             commands that can be selected. In the  figure,  these  commands
  1231.             are "Space", "Time", "Plans", etc.
  1232.  
  1233.          o  The Status Line is the bottom line of the display. It shows, at
  1234.             various  times, what InContext expects you to do, what activity
  1235.  
  1236.  
  1237.    InContxt.DOC                      -17-                       August 1991
  1238.  
  1239.  
  1240.  
  1241.  
  1242.    InContext User Guide                          INTERACTING WITH INCONTEXT
  1243.  
  1244.  
  1245.             context you're in, brief help statements, and  error  messages.
  1246.             This line is not visible in the figure above.
  1247.  
  1248.          o  All  the  rest of the Main Display is the Main Window. The con-
  1249.             tents of this window are determined by your preferred operating
  1250.             style,  but  it  generally  includes  brief  lists  of   tasks,
  1251.             scheduled  activities, objects, actions, procedures, and direc-
  1252.             tories you may wish to select. If the figure seems  too  "busy"
  1253.             for your taste, keep in mind that YOU get to decide what infor-
  1254.             mation is displayed here.
  1255.  
  1256.  
  1257.  
  1258.    Other Displays
  1259.    --------------
  1260.  
  1261.       When  appropriate,  other displays pop up over the Main Display. When
  1262.       this happens, the new display will either appear to be lying  on  top
  1263.       of  the Main Display (a "pop-up" window), or the new information will
  1264.       temporarily replace the information in the  Main  Window.  When  such
  1265.       displays  appear,  additional instructions or status information will
  1266.       also be visible on the Status Line at the bottom of the screen.
  1267.  
  1268.           %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  1269.           %                                                              %
  1270.           %   Dir: Alice Ramsey Personal Center -- ALICE                 %
  1271.           %   Drive: C   View: Document  Class: doc   Object: afhsmin.d  %
  1272.           %  =Space=(Tree=Mode)=====                                     %
  1273.           %  ======================================Modes:=@Tree=@Name=@  %
  1274.           %  |     Directory                    Brief Name   Your Descr  %
  1275.           %  | C:                                                        %
  1276.           %  | +--ALICE                           Alice     Alice Ramse  %
  1277.           %  | |  +--COUNCIL      #                         Legislative  %
  1278.           %  | |  +--LWVADS.VPP                                          %
  1279.           %  | +--BBS                             Bbs       BBS Center   %
  1280.           %  | |  +--BACKUP                                              %
  1281.           %  | +--BRIEF                                                  %
  1282.           %  | |  +--BACKUP                                              %
  1283.           %  | |  +--HELP                                                %
  1284.           %  | |  +--MACROS                                              %
  1285.           %  | +--CHRIS                                     Chris Ramse  %
  1286.           %                                                              %
  1287.           %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  1288.  
  1289.       The figure above shows the Space Display, which is shown whenever you
  1290.       select the Space Command. This is one of those  cases  in  which  the
  1291.       information  in the Main Window is temporarily replaced. This display
  1292.       is one of the ways you can move around from place to  place,  looking
  1293.       at  the  various objects on your disk. You can tell you're looking at
  1294.  
  1295.  
  1296.    InContxt.DOC                      -18-                       August 1991
  1297.  
  1298.  
  1299.  
  1300.  
  1301.    InContext User Guide                          INTERACTING WITH INCONTEXT
  1302.  
  1303.  
  1304.       the Space Display because of the bold word "Space" near  the  top  of
  1305.       the screen.
  1306.  
  1307.       Notice  also  that  additional  information  is shown there about the
  1308.       display mode ("Tree Mode"). Some displays, including the  Space  Dis-
  1309.       play, have more than one way of displaying information.
  1310.  
  1311.       Another thing to observe is that this window has its own Command Bar,
  1312.       showing  the  commands  that  are available from within this display.
  1313.       Some of these allow you to change display modes. (You can see "@Tree"
  1314.       Mode and "@Name" Mode in  the  portion  of  the  Command  Bar  that's
  1315.       visible  in  the  figure.) Almost every display has a "Help" command,
  1316.       and many allow printing.
  1317.  
  1318.  
  1319.    Selecting Things
  1320.    ----------------
  1321.  
  1322.       For the most part, you can select commands or other things in any  of
  1323.       several  ways,  as  you  find convenient. You may use a mouse (if you
  1324.       have one), or cursor keys, or the regular keyboard to control  InCon-
  1325.       text.  Unless  you  disable  one  of  these input modes, they are all
  1326.       available to you all the time. You may switch among  these  modes  at
  1327.       will.
  1328.  
  1329.  
  1330.       Selecting Things with A Mouse
  1331.       -----------------------------
  1332.       If you have a mouse, you can move the cursor to the command or infor-
  1333.       mation  you  want  to  select,  and  push the left mouse button. This
  1334.       causes the indicated command or object to be selected.
  1335.  
  1336.       If you are in a display other than the Main Display, the right  mouse
  1337.       button will cause you to pop back up to the Main Display.
  1338.  
  1339.  
  1340.       Selecting Things Using the Cursor Keys
  1341.       --------------------------------------
  1342.       Whether  or  not  you  have  a  mouse, you can move the cursor to the
  1343.       command or object with the  cursor  control  keys,  and  press  ENTER
  1344.       (sometimes labelled "Return" or "CR").
  1345.  
  1346.       If  you  are in a display other than the Main Display, the escape key
  1347.       ("ESC") will cause you to pop back to the Main Display.
  1348.  
  1349.  
  1350.  
  1351.  
  1352.  
  1353.  
  1354.  
  1355.    InContxt.DOC                      -19-                       August 1991
  1356.  
  1357.  
  1358.  
  1359.  
  1360.    InContext User Guide                          INTERACTING WITH INCONTEXT
  1361.  
  1362.  
  1363.       Selecting Things Using the Regular Keyboard
  1364.       -------------------------------------------
  1365.       To select a command, and  to  make  further  selections  within  that
  1366.       command,  you  can  simply  type  the  first letter of the command or
  1367.       object you want. (If you find that you make too many errors this way,
  1368.       you can disable this capability.) Sometimes, you may need  to  select
  1369.       among  several  things that start with the same letter. In that case,
  1370.       just keep typing the same letter until the item you want is  brightly
  1371.       lit. Then press ENTER or press the left mouse button.
  1372.  
  1373.       As  just  explained,  many  displays  allow  you to select an item by
  1374.       pressing an alphabetic character. This means that  the  ordinary  al-
  1375.       phabet  is  not available, in these displays, as a means of selecting
  1376.       commands from the Command Bar. Commands  in  these  displays  may  be
  1377.       selected by holding down the ALT key as you press the first letter of
  1378.       the  command.  For  example,  printing  such  a display might require
  1379.       holding down ALT and pressing "P". Whenever an ALT-key  is  required,
  1380.       the  Command  Bar  will  indicate this by showing a little raised "a"
  1381.       symbol before the first character of the command. In this User Guide,
  1382.       the symbol used will be "@".
  1383.  
  1384.  
  1385.    Display Scrolling and Paging
  1386.    ----------------------------
  1387.  
  1388.       When a command has been selected, you will  generally  see  a  window
  1389.       that corresponds to that display. Often, there may be too much infor-
  1390.       mation  to fit in the window. Whenever that happens, you can "scroll"
  1391.       or "page" through the information.
  1392.  
  1393.  
  1394.       Scrolling and Paging Using the Keyboard
  1395.       ---------------------------------------
  1396.       Paging, using the PgUp ("page up") and PgDn ("page down") keys allows
  1397.       you to move up or down through the information one whole windowful at
  1398.       a time.
  1399.  
  1400.       Scrolling allows you to move continuously  up  or  down  through  the
  1401.       information.  To  do  this,  you hold down the up-arrow or down-arrow
  1402.       key.
  1403.  
  1404.  
  1405.       Scrolling and Paging Using the Mouse
  1406.       ------------------------------------
  1407.       Scrolling can also be done using the mouse. Simply move the cursor to
  1408.       the top or bottom of the window and continue moving it  in  the  same
  1409.       direction. The display will scroll.
  1410.  
  1411.       Paging  can  be  done  with  the mouse, too, though it takes a little
  1412.  
  1413.  
  1414.    InContxt.DOC                      -20-                       August 1991
  1415.  
  1416.  
  1417.  
  1418.  
  1419.    InContext User Guide                          INTERACTING WITH INCONTEXT
  1420.  
  1421.  
  1422.       practice to get it right. To page down, you  press  the  right  mouse
  1423.       button down and hold it while pressing the left button. The motion is
  1424.       a  little  like  "drumming  your fingers". Once you've learned it, it
  1425.       works very effectively. To page up, just press the left button first,
  1426.       and hold it down while pressing the right button.
  1427.  
  1428.  
  1429.    Escaping from Windows
  1430.    ---------------------
  1431.  
  1432.       If you select a command and decide to exit its window  without  doing
  1433.       anything,  simply  press  ESC  ("escape"),  or  press the right mouse
  1434.       button.
  1435.  
  1436.  
  1437.    Function Keys
  1438.    -------------
  1439.  
  1440.       A few particularly important commands are also selectable by pressing
  1441.       function keys. The table below shows the  meanings  of  the  function
  1442.       keys.
  1443.  
  1444.               %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  1445.               %                                                      %
  1446.               %  Function Key     Effect of Function Key             %
  1447.               %  ============   ===================================  %
  1448.               %       F1        Invoke context-specific help         %
  1449.               %       F2        Edit the information shown (on       %
  1450.               %                    main display, edit current task)  %
  1451.               %       F3        Edit notes for current task          %
  1452.               %       F4        Print the information shown          %
  1453.               %       F5        Add a new task                       %
  1454.               %       F6        Pop top item from Work-in-Progress   %
  1455.               %       F8        Change main display format           %
  1456.               %       F9        Create a new object                  %
  1457.               %                                                      %
  1458.               %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  1459.  
  1460.  
  1461.    Help
  1462.    ----
  1463.  
  1464.       A  particularly  important feature of InContext is its help facility.
  1465.       By pressing (help) almost any time, or by typing "H" or "?" when  the
  1466.       Main Display is showing, you can gain access to on-line assistance in
  1467.       the use of InContext.
  1468.  
  1469.  
  1470.  
  1471.  
  1472.  
  1473.    InContxt.DOC                      -21-                       August 1991
  1474.  
  1475.  
  1476.  
  1477.  
  1478.    InContext User Guide                          INTERACTING WITH INCONTEXT
  1479.  
  1480.  
  1481.       Several features of the help system are worth noticing:
  1482.  
  1483.          o  The help system has a hierarchic structure. You can easily move
  1484.             around  in this information hierarchy. For more specific infor-
  1485.             mation, select a topic from the Command Bar. For less  specific
  1486.             information, press the "ESC" key.
  1487.  
  1488.          o  When  "Help"  is  selected  from the Main Display, the top-most
  1489.             information in the  hierarchy  is  displayed.  You  can  search
  1490.             downward from there for specific topics.
  1491.  
  1492.          o  When  "Help"  is selected from other display contexts, the help
  1493.             information that is most relevant is displayed. You can  search
  1494.             upward or downward from there, if necessary.
  1495.  
  1496.          o  The  help  system  is  also  richly  provided  with "navigation
  1497.             buttons". These buttons (technically known as  hypertext  poin-
  1498.             ters) are selectable words or phrases in the displayed text. If
  1499.             you  select  one, you will move right to the indicated informa-
  1500.             tion. Pressing ESC will bring you back.
  1501.  
  1502.  
  1503.       Some special topics are discussed in the help  system.  These  topics
  1504.       are available from the top help display, and include:
  1505.  
  1506.          o  Product support and registration ("Support")
  1507.  
  1508.          o  Commonly  asked  questions  ("How?").  This section of the help
  1509.             information doubles as an index to the help system.
  1510.  
  1511.  
  1512.  
  1513.       The InContext Tutorial
  1514.       ----------------------
  1515.  
  1516.          The help system also contains a very thorough  tutorial.  For  the
  1517.          new user, this is a quick and sure way to gain an understanding of
  1518.          InContext.  To access the tutorial, just select "Help" by pressing
  1519.          "H" from the Main Display. Read  what's  there,  and  then  select
  1520.          "Tutorial" by pressing "T".
  1521.  
  1522.  
  1523.       Editing in InContext
  1524.       --------------------
  1525.  
  1526.          You  will encounter three different kinds of editing in InContext.
  1527.          Although these three kinds of editing have many similarities, they
  1528.          also have differences, and it is important that you be able to  do
  1529.          all three. The three are:
  1530.  
  1531.  
  1532.    InContxt.DOC                      -22-                       August 1991
  1533.  
  1534.  
  1535.  
  1536.  
  1537.    InContext User Guide                          INTERACTING WITH INCONTEXT
  1538.  
  1539.  
  1540.             o  editing text
  1541.  
  1542.             o  editing options
  1543.  
  1544.             o  editing dictionaries
  1545.  
  1546.  
  1547.  
  1548.          Editing Text
  1549.          ------------
  1550.          InContext  has  its  own,  simple  internal editor for use on task
  1551.          notes and, if you choose, other small text files. (If you  choose,
  1552.          you  can  make  use  of your own preferred editor, instead.) Shown
  1553.          below is an example, with the internal editor invoked.
  1554.  
  1555.                  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  1556.                  %                                                     %
  1557.                  %   Dir: H. Rudy Ramsey Personal Center -- RUDY       %
  1558.                  %   Drive: C   View: Letters   Class: ALL   Object:   %
  1559.                  %              ==Plans====                            %
  1560.                  %  ==Edit=Notes:=carmaint=--=Do=Maintenance=on=Cars=  %
  1561.                  %  |                                                  %
  1562.                  %  |              ╔---------------------------------  %
  1563.                  %  |              |             Do Maintenance on Ca  %
  1564.                  %  |              ╚---------------------------------  %
  1565.                  %  |                                                  %
  1566.                  %  |Honda                                             %
  1567.                  %  |   Check oil                                      %
  1568.                  %  |   Check coolant                                  %
  1569.                  %  |   Check washer fluid#                            %
  1570.                  %  |   Check brake fluid                              %
  1571.                  %  |   Check manual for other stuff                   %
  1572.                  %  |   Check tires, pressures                         %
  1573.                  %  |   Consider longer-term maintenance that might b  %
  1574.                  %  |         oil change, tune-up, alignment, lube, e  %
  1575.                  %  |   Wash dash                                      %
  1576.                  %  |   Vacuum inside                                  %
  1577.                  %  |   Wash exterior                                  %
  1578.                  %                                                     %
  1579.                  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  1580.  
  1581.          To use this editor, simply move the  cursor  to  the  position  at
  1582.          which you would like to add or delete text. You can add text there
  1583.          by  simply  typing.  If "Insert Mode" is visible in the lower left
  1584.          corner of the window, the text you type will be  inserted;  other-
  1585.          wise,  it  will  replace any existing text that you type over. The
  1586.          Ins (insert) key toggles the mode between insert and replace.
  1587.  
  1588.          The window is scrollable, so you can  use  the  usual  methods  of
  1589.  
  1590.  
  1591.    InContxt.DOC                      -23-                       August 1991
  1592.  
  1593.  
  1594.  
  1595.  
  1596.    InContext User Guide                          INTERACTING WITH INCONTEXT
  1597.  
  1598.  
  1599.          moving around the text.
  1600.  
  1601.          The  following  special commands are also available in this editor
  1602.          (these commands are similar to those used in the BRIEF editor):
  1603.  
  1604.             Cursor Movement
  1605.  
  1606.                Home      Pressed once, this moves the cursor to the
  1607.                          beginning of the current line; pressed a second
  1608.                          time, it moves the cursor to the beginning of the
  1609.                          current window; pressed a third time, it moves the
  1610.                          cursor to the beginning of the file.
  1611.  
  1612.                End       Pressed once, moves cursor to end of line; pressed
  1613.                          again, moves cursor to end of window; pressed
  1614.                          again, moves cursor to end of file.
  1615.  
  1616.                Alt-G     Go to specified line number.
  1617.  
  1618.                Alt-S     Search forward for specified text.
  1619.  
  1620.                Alt-N     Search forward for Next instance, using same text.
  1621.  
  1622.                Ctrl-RA   Control-right-arrow: go to beginning of next word
  1623.  
  1624.                Ctrl-LA   Control-left-arrow: go to beginning of previous word
  1625.  
  1626.  
  1627.             Line Breaking and Joining
  1628.  
  1629.                ENTER     Break current line at cursor location.
  1630.  
  1631.                Alt-J     Join current line and next line.
  1632.  
  1633.  
  1634.             Insertion, Deletion, Cut/Paste
  1635.  
  1636.                Ins       Toggle insert/replace mode.
  1637.  
  1638.                Del       Delete character at cursor position.
  1639.  
  1640.                Alt-D     Delete the line at the current cursor position.
  1641.                          (If lines marked, delete them after verification.)
  1642.  
  1643.                Alt-I     Insert an empty line at current cursor position.
  1644.  
  1645.                Alt-M     Pressed once, Marks line for deletion or for cut
  1646.                          to buffer; pressed again on another line, marks
  1647.                          all intervening lines; pressed again, unmarks all
  1648.  
  1649.  
  1650.    InContxt.DOC                      -24-                       August 1991
  1651.  
  1652.  
  1653.  
  1654.  
  1655.    InContext User Guide                          INTERACTING WITH INCONTEXT
  1656.  
  1657.  
  1658.                          lines.
  1659.  
  1660.                Grey -    Cut marked lines (or current line if none are
  1661.                          marked) to buffer.
  1662.  
  1663.                Grey +    Paste buffer at current cursor location.
  1664.  
  1665.                Alt-K     ("Kill") Delete from current position to end of
  1666.                          line.
  1667.  
  1668.  
  1669.             Exit Editor
  1670.  
  1671.                Alt-W     Write file and exit editor.
  1672.  
  1673.                Alt-X     Exit without save (after user verifies intent).
  1674.  
  1675.  
  1676.          Editing InContext Options
  1677.          -------------------------
  1678.          In changing the  configuration  options  of  InContext,  you  will
  1679.          encounter two different kinds of fields. They are both illustrated
  1680.          in the sample display below.
  1681.  
  1682.                   %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  1683.                   %                                                   %
  1684.                   %  ==Change=Display=Formats=and=User=Information==  %
  1685.                   %  |                                                %
  1686.                   %  | User Name:  H.=Rudy=Ramsey==============  Reg  %
  1687.                   %  |                                                %
  1688.                   %  | Date format: mm/dd/yy                     Tim  %
  1689.                   %  |                                                %
  1690.                   %                                                   %
  1691.                   %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  1692.  
  1693.          The  "User  Name" field in this display is an editable text field.
  1694.          In general, editable text fields are displayed in different colors
  1695.          than other text. By placing the cursor in this field  and  typing,
  1696.          you  can modify the text there. Typing with the cursor not in such
  1697.          a field has no effect.
  1698.  
  1699.          As in normal text editing, the characters you type may be inserted
  1700.          or may replace existing characters, depending on the mode. The Ins
  1701.          (insert) key toggles the mode between insert and replace.
  1702.  
  1703.          The "Date Format" field is displayed in bold characters  (this  is
  1704.          not  apparent  in  the  figure  printed  above). In the context of
  1705.          editing options, such a field is capable of cycling through a  set
  1706.          of  available values. Just place the cursor on the field and press
  1707.  
  1708.  
  1709.    InContxt.DOC                      -25-                       August 1991
  1710.  
  1711.  
  1712.  
  1713.  
  1714.    InContext User Guide                          INTERACTING WITH INCONTEXT
  1715.  
  1716.  
  1717.          ENTER or the left mouse button to see the next value. You can  use
  1718.          the Tab key to move from field to field.
  1719.  
  1720.  
  1721.          Editing Dictionaries
  1722.          --------------------
  1723.          Several  of  the structures you will want to edit in InContext are
  1724.          what we loosely call "dictionaries". A dictionary contains a  list
  1725.          of  "Names", with some information associated with each name. Each
  1726.          "Name" is a short (up to 8 characters), unique  name  assigned  by
  1727.          the  user. Each name has a "Description" associated with it, which
  1728.          can be thought of as a longer name, available for display. In some
  1729.          dictionaries, each name also has an associated "Definition".  This
  1730.          definition  may  be  a  procedure,  a  list  of object classes, or
  1731.          various other things, depending on the context.
  1732.  
  1733.          As an example, let's consider the "Views" list  (see  the  display
  1734.          below).  This contains names of user-defined "views". Consider the
  1735.          entry with  the  NAME  "Document".  The  "Document"  view  can  be
  1736.          selected by the user in order to see objects related to documents,
  1737.          while  filtering out other objects that may be present in the same
  1738.          directory, such as programs, graphical images, etc. In the display
  1739.          shown below, the "Document" view has the  associated  DESCRIPTION,
  1740.          "Document  preparation view". The DEFINITION of that view would be
  1741.          a list of object classes (i.e., filename  extensions)  to  be  in-
  1742.          cluded  in the view. A possible list might be "doc", "fmt", "ltr",
  1743.          and "txt".
  1744.  
  1745.                  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  1746.                  %                                                     %
  1747.                  %        ==View====                                   %
  1748.                  %  ==Editing=View=Definitions================@Help==  %
  1749.                  %  |                                               |  %
  1750.                  %  | Brief Name     Your Description               |  %
  1751.                  %  |  Archive=     Archive=files=================  |  %
  1752.                  %  |  Chess===     Chess=games===================  |  %
  1753.                  %  |  Docum#nt     Document=preparation=view=====  |  %
  1754.                  %  |  Finance=     Financial=management=view=====  |  %
  1755.                  %  |  Fonts===     Laser=printer=fonts===========  |  %
  1756.                  %  |  Graphics     Graphical=objects=============  |  %
  1757.                  %  |  Incontxt     InContext=control=artifacts===  |  %
  1758.                  %  |  Letters=     Letters=on=various=letterhead=  |  %
  1759.                  %  |  Messages     CompuServe=messages===========  |  %
  1760.                  %  |  Programs     Executable=programs===========  |  %
  1761.                  %  |  Source==     Source=programming=view=======  |  %
  1762.                  %  |  Tapcis==     CIS-=and=TAPCIS-related=stuff=  |  %
  1763.                  %  |  Ventura=     Ventura=Publisher=artifacts===  |  %
  1764.                  %  |  Writing=     Source=author=view============  |  %
  1765.                  %  |  Xref====     Cross-references,=maps,=etc.==  |  %
  1766.  
  1767.  
  1768.    InContxt.DOC                      -26-                       August 1991
  1769.  
  1770.  
  1771.  
  1772.  
  1773.    InContext User Guide                          INTERACTING WITH INCONTEXT
  1774.  
  1775.  
  1776.                  %  |                                               |  %
  1777.                  %                                                     %
  1778.                  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  1779.  
  1780.          In general, you must select the "Edit" mode before you can edit  a
  1781.          dictionary.  Usually,  that  is done by selecting "@Edit" from the
  1782.          Command Bar, or by pressing function key F2,  the  Edit  key.  The
  1783.          display above is the "Views" display, after this has been done. In
  1784.          this Edit mode, the user can redefine the list of available views.
  1785.  
  1786.          Once you are editing such a dictionary, simply place the cursor on
  1787.          the  field  you  want  to  change and type. This will allow you to
  1788.          change the "Name" and "Description"  fields.  All  the  principles
  1789.          discussed  above  in  connection  with  editable text fields apply
  1790.          here.
  1791.  
  1792.          In addition to editing the fields that are present, you can add or
  1793.          delete fields. The special commands for this are:
  1794.  
  1795.             Alt-D  Delete the  line  the  cursor  is  currently  on,  after
  1796.                    verifying user intent.
  1797.  
  1798.             Alt-I  Insert an empty line before the current line.
  1799.  
  1800.             ENTER  Insert an empty line after the current line.
  1801.  
  1802.  
  1803.          To  edit  the definition of one of these entries, place the cursor
  1804.          on the desired entry and press the left mouse button or  the  Edit
  1805.          key  (function  key  F2). You will then be editing the definition.
  1806.          See "Editing Text", above, for a discussion of how that is done.
  1807.  
  1808.          Exiting the editor simply involves pressing the right mouse button
  1809.          or the Esc key once for each level you wish to exit. If you change
  1810.          your mind about an editing operation before you  have  exited  it,
  1811.          you  may  press Alt-X to exit without saving the modified informa-
  1812.          tion.
  1813.  
  1814.  
  1815.       The Internal File Viewer
  1816.       ------------------------
  1817.  
  1818.          InContext has an internal file viewer capable of displaying  ASCII
  1819.          files with their normal text appearance, and capable of displaying
  1820.          any  file  in  hexadecimal notation. An abbreviated example of the
  1821.          latter is:
  1822.  
  1823.  
  1824.  
  1825.  
  1826.  
  1827.    InContxt.DOC                      -27-                       August 1991
  1828.  
  1829.  
  1830.  
  1831.  
  1832.    InContext User Guide                          INTERACTING WITH INCONTEXT
  1833.  
  1834.  
  1835.                  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  1836.                  %                                                     %
  1837.                  %  Viewing="temp."=(Data=Mode)======@Text @Data=====  %
  1838.                  %  000000  49 6E 43 6F 6E 74 65 78  InContext has an  %
  1839.                  %  000010  20 69 6E 74 65 72 6E 61   internal file v  %
  1840.                  %  000020  69 65 77 65 72 20 63 61  iewer capable of  %
  1841.                  %  000030  20 64 69 73 70 6C 61 79   displaying ASCI  %
  1842.                  %  000040  49 20 66 69 6C 65 73 0D  I files* with th  %
  1843.                  %  000050  65 69 72 20 6E 6F 72 6D  eir normal text   %
  1844.                  %  000060  61 70 70 65 61 72 61 6E  appearance, and   %
  1845.                  %  000070  63 61 70 61 62 6C 65 20  capable of displ  %
  1846.                  %  000080  61 79 20 61 6E 79 20 66  ay any file in*   %
  1847.                  %  000090  68 65 78 61 64 65 63 69  hexadecimal nota  %
  1848.                  %  0000A0  74 69 6F 6E 2E 20 20 41  tion.  An abbrev  %
  1849.                  %  0000B0  69 61 74 65 64 20 65 78  iated example of  %
  1850.                  %  0000C0  20 74 68 65 20 6C 61 74   the latter is:*  %
  1851.                  %  0000D0  0A 0D 0A 1A               *                %
  1852.                  %                                                     %
  1853.                  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  1854.  
  1855.          This "Data Mode" is obtained by selecting "@Data" from the Command
  1856.          Bar. To switch back to the normal text  display  (if  applicable),
  1857.          select  "@Text".  The  viewer initially analyzes the file, and at-
  1858.          tempts to select the appropriate mode, but you may switch back and
  1859.          forth at will.
  1860.  
  1861.          The normal cursor-control operations, including Home, End,  Paging
  1862.          and Scrolling, can be used in the viewer.
  1863.  
  1864.          There  is  no limit to the size of the file that can be handled by
  1865.          the viewer.
  1866.  
  1867.  
  1868.       The Internal Archive Viewer
  1869.       ---------------------------
  1870.  
  1871.          InContext    provides     internal     support     for     several
  1872.          archive/compression  programs.  These are programs that compress a
  1873.          collection of files into a single file, thereby
  1874.  
  1875.             o  conserving space, and
  1876.  
  1877.             o  collecting them into a  single  file  for  easy  storage  or
  1878.                transport.
  1879.  
  1880.  
  1881.  
  1882.  
  1883.  
  1884.  
  1885.  
  1886.    InContxt.DOC                      -28-                       August 1991
  1887.  
  1888.  
  1889.  
  1890.  
  1891.    InContext User Guide                          INTERACTING WITH INCONTEXT
  1892.  
  1893.  
  1894.          Archive formats and archivers supported by InContext include:
  1895.  
  1896.             ARC  An  archive  format  for  which several archivers are sup-
  1897.                  ported:
  1898.                     ARCA/ARCE -- Freeware programs with limited functionality
  1899.                     ARC -- SEA's archive program
  1900.                     PKARC/PKXARC -- Phil Katz's earlier archiver programs.
  1901.  
  1902.             ARJ  ARJ -- Robert Jung's relatively new archive program
  1903.  
  1904.             LZH  LHA -- Haruyasu Yoshizaki's free archiver.
  1905.  
  1906.             PAK  PAK -- NoGate Consultings archiver, also used for distri-
  1907.                         bution by the Software Distribution Network.
  1908.  
  1909.             ZIP  PKZIP/PKUNZIP -- Phil Katz's more recent archive programs.
  1910.  
  1911.          You may use InContext to manage archives in any of these  formats,
  1912.          using  any  of these archivers. With the exception of LHA, none of
  1913.          these archivers are provided with InContext. You must obtain  them
  1914.          separately.
  1915.  
  1916.  
  1917.          InContext Makes Special Use of LHA
  1918.          ----------------------------------
  1919.          You  may,  or  may  not,  choose  to use the LHA program to manage
  1920.          archives of your  own.  Regardless  of  that  decision,  InContext
  1921.          sometimes  makes use of LHA to manage certain archives of its own.
  1922.          For that reason, LHA  is  distributed  along  with  InContext,  to
  1923.          insure that you have it on your system. The files produced by LHA,
  1924.          incidentally, usually have the filename extension (class) "lzh".
  1925.  
  1926.          If  you  choose, you can keep several kinds of InContext artifacts
  1927.          in LHA archives in order to minimize the disk usage  of  InContext
  1928.          itself.  By  placing  help files in the archive "help.lzh", object
  1929.          templates   in   "template.lzh",   and   action   definitions   in
  1930.          "actions.lzh",  you  cause  InContext  to  extract  them only when
  1931.          needed. This takes more time, but uses much less disk space.
  1932.  
  1933.  
  1934.          Viewing Archives
  1935.          ----------------
  1936.          InContext allows you to view archive files of any of the supported
  1937.          types using an internal viewer similar to that  used  for  Objects
  1938.          (see  later  "OBJECTS  AND  VIEWS" chapter). An example display is
  1939.          shown below. You can see this much about an archive of a supported
  1940.          type even if you don't have the associated  archiver,  since  this
  1941.          display is produced by InContext alone.
  1942.  
  1943.  
  1944.  
  1945.    InContxt.DOC                      -29-                       August 1991
  1946.  
  1947.  
  1948.  
  1949.  
  1950.    InContext User Guide                          INTERACTING WITH INCONTEXT
  1951.  
  1952.  
  1953.          %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  1954.          %                                                                %
  1955.          %   Dir: InContext Artifacts -- INCONTXT                         %
  1956.          %   Drive: C   View: ALL       Class: lzh   Object: template.lz  %
  1957.          %                                               ==Action====     %
  1958.          %  ==Viewing=archive="template.lzh"============================  %
  1959.          %  ======@ArchiveOp==Modes:=@Full=@Brief==Orders:=@Class=@Name=  %
  1960.          %  |                                                             %
  1961.          %  |   Filename        Size    Date   Time   CmpSize Method  Pa  %
  1962.          %  |      act.tpl #      83   2/5/90 18:30        60 FROZEN      %
  1963.          %  |      apt.tpl       566   4/6/91 12:03       312 FROZEN      %
  1964.          %  |      asm.tpl       667  3/23/89 18:02       297 FROZEN      %
  1965.          %  |      bat.tpl      1463   3/7/90  9:42       388 FROZEN      %
  1966.          %                                                                %
  1967.          %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  1968.  
  1969.          Aside  from  the  usual  object  information, you can see that the
  1970.          object "bat.tpl" is 1463 bytes in size when it resides normally on
  1971.          the disk, but it has been compressed to 388 bytes in the  archive,
  1972.          using  a  compression  method  called  "freezing".  You needn't be
  1973.          concerned about compression methods, since they are handled  auto-
  1974.          matically.
  1975.  
  1976.          If  you select an object from this display, InContext will present
  1977.          a menu containing actions relevant to objects in  an  archive.  In
  1978.          general,  you  can  perform these actions only if you have the as-
  1979.          sociated archiver.
  1980.  
  1981.          %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  1982.          %                                                                 %
  1983.          %  ==What=action=do=you=want=to=take=with="bat.tpl"=============  %
  1984.          %  | View #  -- View file                                         %
  1985.          %  | Delete  -- Delete object from this archive                   %
  1986.          %  | Freshen -- If corresponding disk file is later, freshen arc  %
  1987.          %  | Kill    -- Remove corresponding file from disk               %
  1988.          %  | Xtract  -- Extract copy of this object from archive to disk  %
  1989.          %  +------------------------------------------------------------  %
  1990.          %                                                                 %
  1991.          %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  1992.  
  1993.          This menu allows you to view the object,  delete  it,  update  its
  1994.          image  in  the  archive,  remove  the  corresponding disk file, or
  1995.          extract the object to disk (without removing it from the archive).
  1996.  
  1997.          You may also select the  "@ArchiveOp"  command  from  the  command
  1998.          line,  in  order  to  select  among  actions that affect the whole
  1999.          archive, rather than a single file in the archive. These resulting
  2000.          menu is shown below.
  2001.  
  2002.  
  2003.  
  2004.    InContxt.DOC                      -30-                       August 1991
  2005.  
  2006.  
  2007.  
  2008.  
  2009.    InContext User Guide                          INTERACTING WITH INCONTEXT
  2010.  
  2011.  
  2012.          %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  2013.          %                                                               %
  2014.          %  ==What=action=do=you=want=to=take=with=this=archive?=======  %
  2015.          %  | Freshen All# -- Freshen archive from all corresponding di  %
  2016.          %  | Kill All     -- Remove all corresponding files from disk   %
  2017.          %  | Make Self-X  -- Convert archive to self-extractor, if sup  %
  2018.          %  | Path Extract -- Extract all files to indicated paths, if   %
  2019.          %  | Xtract All   -- Extract copies of all files to current di  %
  2020.          %  +----------------------------------------------------------  %
  2021.          %                                                               %
  2022.          %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  2023.  
  2024.          To perform these actions, too, you must have  the  associated  ar-
  2025.          chiver properly installed on your system.
  2026.  
  2027.          For more information about using the various archivers, review the
  2028.          "EXAMPLES  AND  APPLICATION  NOTES"  chapter,  and  then  see  the
  2029.          ARCHIVER.APP Application Note (AppNote) in  the  APPNOTES.LZH  ar-
  2030.          chive. See also the "viewArchive" command in the "InContext Inter-
  2031.          nal Commands" section of the chapter, "CLASSES AND ACTIONS".
  2032.  
  2033.  
  2034.  
  2035.  
  2036.  
  2037.  
  2038.  
  2039.  
  2040.  
  2041.  
  2042.  
  2043.  
  2044.  
  2045.  
  2046.  
  2047.  
  2048.  
  2049.  
  2050.  
  2051.  
  2052.  
  2053.  
  2054.  
  2055.  
  2056.  
  2057.  
  2058.  
  2059.  
  2060.  
  2061.  
  2062.  
  2063.    InContxt.DOC                      -31-                       August 1991
  2064.  
  2065.  
  2066.  
  2067.  
  2068.    InContext User Guide                                   OBJECTS AND VIEWS
  2069.  
  2070.  
  2071.           
  2072.                              +-------------------+
  2073.                              | OBJECTS AND VIEWS |
  2074.                              +-------------------+
  2075.  
  2076.  
  2077.  
  2078.       When  we  talk  about OBJECTS in this User Guide, we're talking about
  2079.       files, and sometimes sets of files. They're called "objects" because,
  2080.       when you use InContext, they  exhibit  some  of  the  properties  you
  2081.       naturally associate with objects in the physical world.
  2082.  
  2083.       Objects  in  the real world are naturally associated with the ACTIONS
  2084.       you can take with them. You can drink from a coffee cup, or  fill  it
  2085.       up,  or even throw it, but you can't write with it or drive it to the
  2086.       grocery store. And we tend to think in terms of actions  rather  than
  2087.       the  tools  that  are used in the actions. When you toss a salad, the
  2088.       emphasis is on the action, "toss", and not on the fork and spoon used
  2089.       to do the tossing.
  2090.  
  2091.       In the computer world in  general,  and  MS-DOS  in  particular,  the
  2092.       emphasis has been on the tools. There are (data) files, and there are
  2093.       programs  (tools).  You  invoke  a certain program on a certain file,
  2094.       perhaps with special arguments, and a desired action results. But the
  2095.       user has to remember which program, with which arguments, performs  a
  2096.       particular action on which kind of file.
  2097.  
  2098.       With  InContext, selecting an object gives you a list of actions that
  2099.       are applicable to the object. Common examples are edit, copy, rename,
  2100.       delete, and print. Selecting  the  action  causes  execution  of  the
  2101.       appropriate procedure to perform the action.
  2102.  
  2103.  
  2104.    Object Classes
  2105.    --------------
  2106.  
  2107.       In  MS-DOS, files are given names like "autoexec.bat". The characters
  2108.       after the period (in this case, "bat") identify the kind of  file  it
  2109.       is. InContext uses this "filename extension" to indicate the CLASS of
  2110.       an object. Thus, an ordinary text file might be of class "txt", while
  2111.       a Lotus 1-2-3 spreadsheet might be of class "wk1".
  2112.  
  2113.       Incidentally,  InContext  also  has  to  have some way of showing you
  2114.       files which have no filename extension.  These  files  are  displayed
  2115.       using  the  Greek  letter  Phi  ("φ",  often  used to mean "empty" or
  2116.       "nothing"). Thus a file named simply "temp"  would  be  displayed  by
  2117.       InContext as "temp.φ".
  2118.  
  2119.       InContext  allows  the  user  to  define  the actions of a class. One
  2120.  
  2121.  
  2122.    InContxt.DOC                      -32-                       August 1991
  2123.  
  2124.  
  2125.  
  2126.  
  2127.    InContext User Guide                                   OBJECTS AND VIEWS
  2128.  
  2129.  
  2130.       reason for doing this is to cause standard  actions  to  behave  dif-
  2131.       ferently  (and  appropriately)  for  different  classes. For example,
  2132.       Lotus 1-2-3 is an appropriate tool with which  to  "edit"  a  spread-
  2133.       sheet,  but  not  a text object. A second reason is to add operations
  2134.       especially applicable to the class (e.g., "compile" a C  program,  or
  2135.       "plot" a Computer-Aided Design file).
  2136.  
  2137.       If  you  have  not  installed or created a definition of a particular
  2138.       class, then only the basic actions  (like  move,  copy,  delete,  and
  2139.       rename)  are  available for that class. These actions, too, are under
  2140.       your control, and you can redefine them. They do not vary from  class
  2141.       to class, however.
  2142.  
  2143.                       %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  2144.                       %                                      %
  2145.                       %  Class:      document      makefile  %
  2146.                       %              ("doc")       ("mk")    %
  2147.                       %                                      %
  2148.                       %  Actions:    edit          edit      %
  2149.                       %              view          view      %
  2150.                       %              archive       copy      %
  2151.                       %              copy          delete    %
  2152.                       %              delete        rename    %
  2153.                       %              rename        print     %
  2154.                       %              preview       make_pkg  %
  2155.                       %              print         inst_pkg  %
  2156.                       %                            test_pkg  %
  2157.                       %                            arch_pkg  %
  2158.                       %                                      %
  2159.                       %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  2160.  
  2161.  
  2162.       The  figure  above  shows,  by way of example, sample actions for two
  2163.       defined classes. The "doc" (document) class has some of the  ordinary
  2164.       operations  you might think of in connection with text documents. For
  2165.       example, you can edit it, check its spelling,  preview  how  it  will
  2166.       look  when  printed,  and  save it in an archive. The "mk" (makefile)
  2167.       class is a kind of object that describes  a  software  package  being
  2168.       developed. This class has several actions in common with the document
  2169.       class,  such as view, edit, and delete. However, it also has special-
  2170.       ized operations, such as "make the package", "install  the  package",
  2171.       etc.  While  these  actions  are  listed  above by their short names,
  2172.       intended to fit in limited space, they also have  longer  descriptive
  2173.       names by which you can recognize them in actual use.
  2174.  
  2175.       The  "Classes  and  Actions" chapter, later in this manual, describes
  2176.       how class definitions are constructed. In addition  to  defining  the
  2177.       actions of individual classes, the user is in control of the standard
  2178.       actions  that  apply for undefined classes, and the actions which can
  2179.  
  2180.  
  2181.    InContxt.DOC                      -33-                       August 1991
  2182.  
  2183.  
  2184.  
  2185.  
  2186.    InContext User Guide                                   OBJECTS AND VIEWS
  2187.  
  2188.  
  2189.       be taken on whole sets of selected objects.
  2190.  
  2191.  
  2192.    Focussing by View and Class
  2193.    ---------------------------
  2194.  
  2195.       Although the user can reconfigure InContext  to  behave  differently,
  2196.       the Main Display normally shows several lists, one of which is a list
  2197.       of  objects  in the current directory. For example, the display below
  2198.       shows such objects  as  "videotap.doc"  and  "cramer.ltr".  They  are
  2199.       identifiable   as  objects  because  they  appear  under  the  label,
  2200.       "Objects". However, this display is currently showing objects of  all
  2201.       types, so they're all mixed in together. Furthermore, not all objects
  2202.       are shown, since there are too many to fit in the objects area of the
  2203.       display.  One  way  to deal with this is to select the "Objects" com-
  2204.       mand, in order to pop up a window dedicated entirely  to  objects.  A
  2205.       second way to deal with this is to focus on a smaller set of objects,
  2206.       either by view or by class.
  2207.  
  2208.           %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  2209.           %                                                              %
  2210.           %   Dir: H. Rudy Ramsey Personal Center -- RUDY                %
  2211.           %   Drive: C   View: ALL       Class: ALL   Object:            %
  2212.           %  =Space==Time==Plans==WiP====View==Class==Object==Action===  %
  2213.           %  |                                                           %
  2214.           %  |  Views  Class   Objects                                   %
  2215.           %  | ALL      ALL document.arc  videotap.doc  famtrait.txt  l  %
  2216.           %  | Archive  arc ltrs1988.arc  newhouse.exp  genealog.txt     %
  2217.           %  | Chess    doc  ppiwork.arc  highland.lab  goal1988.txt     %
  2218.           %  | Docum#nt exp biograph.doc   address.lst  goal1989.txt     %
  2219.           %  | Finance  lab camplist.doc    cramer.ltr     house.txt     %
  2220.           %  | Fonts    lst    humor.doc     xcbee.mar   ltrplan.txt     %
  2221.           %  | Graphics ltr    music.doc   consult.msg  medrecrd.txt     %
  2222.           %  | Incontxt mar    names.doc       cti.msg  moveplan.txt     %
  2223.           %  | Letters  msg pararecm.doc   grammar.msg    newage.txt     %
  2224.           %  | Messages org  pccodes.doc   storybd.org    phones.txt     %
  2225.           %  | Programs prn  publist.doc   weights.prn     sdump.txt     %
  2226.           %  | Source   ris     pubs.doc    cooper.ris     train.txt     %
  2227.           %  | Tapcis   run   resume.doc   1988-11.run    travel.txt     %
  2228.           %  | Ventura  txt    songs.doc   1989-01.run     weiss.txt     %
  2229.           %  | Writing  wk1  storybd.doc  booklist.txt   running.wk1     %
  2230.           %  | Xref     zip superemt.doc       box.txt   weights.wk1     %
  2231.           %  |                  temp.doc  contract.txt    labels.zip     %
  2232.           %  |                  test.doc  famtrai2.txt   letters.zip     %
  2233.           %  +- InContext Work Environment Manager ------ Mode: Objects  %
  2234.           %  ==Select=command=(M=for=more),=or=select=any=item=on=main=  %
  2235.           %                                                              %
  2236.           %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  2237.  
  2238.  
  2239.  
  2240.    InContxt.DOC                      -34-                       August 1991
  2241.  
  2242.  
  2243.  
  2244.  
  2245.    InContext User Guide                                   OBJECTS AND VIEWS
  2246.  
  2247.  
  2248.       The  two  columns to the left, "Views" and "Class", are your means of
  2249.       focussing on larger or smaller sets  of  objects.  According  to  the
  2250.       information  in the Context Area at the top of the display, ALL views
  2251.       and ALL object classes in the directory are being displayed.  If  you
  2252.       place  the  cursor  on  the name of a particular view (in the "Views"
  2253.       list) and press the left mouse button or ENTER,  only  objects  which
  2254.       are part of that view will be shown. Similarly, picking the name of a
  2255.       particular  class  (from  the "Class" list), displays only objects of
  2256.       that class.
  2257.  
  2258.       For example, the cursor in the previous display is on the  "Document"
  2259.       view.  Pressing the left mouse button or the ENTER key will result in
  2260.       a display like the following.
  2261.  
  2262.          %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  2263.          %                                                              %
  2264.          %   Dir: H. Rudy Ramsey Personal Center -- RUDY                %
  2265.          %   Drive: C   View: Document  Class: ALL   Object:            %
  2266.          %  =Space==Time==Plans==WiP====View==Class==Object==Action===  %
  2267.          %  |                                                           %
  2268.          %  |  Views  Class   Objects                                   %
  2269.          %  | ALL      ALL biograph.doc    cooper.ris     weiss.txt     %
  2270.          %  | Archive  doc camplist.doc  booklist.txt                   %
  2271.          %  | Chess    fmt    humor.doc       box.txt                   %
  2272.          %  | Document lab    music.doc  contract.txt                   %
  2273.          %  | Finance  ltr    names.doc  famtrai2.txt                   %
  2274.          %  | Fonts    ris pararecm.doc  famtrait.txt                   %
  2275.          %  | Graphics txt  pccodes.doc  genealog.txt                   %
  2276.          %  | Incontxt wdx  publist.doc  goal1988.txt                   %
  2277.          %  | Letters          pubs.doc  goal1989.txt                   %
  2278.          %  | Messages       resume.doc     house.txt                   %
  2279.          %  | Programs        songs.doc   ltrplan.txt                   %
  2280.          %  | Source        storybd.doc  medrecrd.txt                   %
  2281.          %  | Tapcis       superemt.doc  moveplan.txt                   %
  2282.          %  | Ventura          temp.doc    newage.txt                   %
  2283.          %  | Writing          test.doc    phones.txt                   %
  2284.          %  | Xref         videotap.doc     sdump.txt                   %
  2285.          %  |              highland.lab     train.txt                   %
  2286.          %  |                cramer.ltr    travel.txt                   %
  2287.          %  +- User: H. Rudy Ramsey -------------------- Mode: Objects  %
  2288.          %  ==Select=command=(M=for=more),=or=select=any=item=on=main=  %
  2289.          %                                                              %
  2290.          %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  2291.  
  2292.       Notice that the Context Area now indicates the "Document"  view.  You
  2293.       can  see  that the list of objects shown is much smaller. In fact, it
  2294.       contains only objects of the classes, "doc","lab", "ltr", "ris",  and
  2295.       "txt".  These  classes  are defined as included in the Document view.
  2296.       The full list of classes in the document view is shown under  "Class"
  2297.  
  2298.  
  2299.    InContxt.DOC                      -35-                       August 1991
  2300.  
  2301.  
  2302.  
  2303.  
  2304.    InContext User Guide                                   OBJECTS AND VIEWS
  2305.  
  2306.  
  2307.       in  the  Main  Window. It includes the five classes above, as well as
  2308.       several others. Apparently there are no objects of the classes  "fmt"
  2309.       or "wdx" in this directory.
  2310.  
  2311.       If  this  is not a sufficiently fine focus, the cursor can be used to
  2312.       select one of the class names under "Class", and only objects of that
  2313.       class will be shown. Thus, selecting "ltr"  results  in  the  display
  2314.       shown below. Notice that the Context Area now indicates that the view
  2315.       is  "Document" and the class is "ltr". As it happens, the only object
  2316.       of the "ltr" class in this  directory  is  "cramer.ltr",  and  it  is
  2317.       displayed.
  2318.  
  2319.           %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  2320.           %                                                              %
  2321.           %   Dir: H. Rudy Ramsey Personal Center -- RUDY                %
  2322.           %   Drive: C   View: Document  Class: ltr   Object:            %
  2323.           %  =Space==Time==Plans==WiP====View==Class==Object==Action===  %
  2324.           %  |                                                           %
  2325.           %  |  Views  Class   Objects                                   %
  2326.           %  | ALL      ALL   cramer.ltr                                 %
  2327.           %  | Archive  apt                                              %
  2328.           %  | Chess    doc                                              %
  2329.           %  | Document fmt                                              %
  2330.           %  | Finance  hrr                                              %
  2331.           %  | Fonts    lab                                              %
  2332.           %  | Graphics ltr                                              %
  2333.           %  | Incontxt mk                                               %
  2334.           %  | Letters  ris                                              %
  2335.           %  | Messages txt                                              %
  2336.           %  | Programs wdx                                              %
  2337.           %  | Source                                                    %
  2338.           %  | Tapcis                                                    %
  2339.           %  | Ventura                                                   %
  2340.           %  | Writing                                                   %
  2341.           %  | Xref                                                      %
  2342.           %  |                                                           %
  2343.           %  |                                                           %
  2344.           %  +- InContext Work Environment Manager ------ Mode: Objects  %
  2345.           %  ==Select=command=(M=for=more),=or=select=any=item=on=main=  %
  2346.           %                                                              %
  2347.           %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  2348.  
  2349.       If  the information shown in the Main Window is not enough for you to
  2350.       select the appropriate view or class, you  can  use  the  "Views"  or
  2351.       "Class"  command.  The figure below shows the Views Display, which is
  2352.       displayed when you select the "Views" command, either by  typing  'v'
  2353.       or by selecting the word "View" in the Command Bar. The Views Display
  2354.       shows  both  the  brief  name and a longer description of each of the
  2355.       currently defined views. These  descriptions,  and  the  views  them-
  2356.  
  2357.  
  2358.    InContxt.DOC                      -36-                       August 1991
  2359.  
  2360.  
  2361.  
  2362.  
  2363.    InContext User Guide                                   OBJECTS AND VIEWS
  2364.  
  2365.  
  2366.       selves, are under your control, as shown in the next section.
  2367.  
  2368.               %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  2369.               %                                                     %
  2370.               %        ==View====                                   %
  2371.               %  ===================================@Edit==@Help==  %
  2372.               %  |                                               |  %
  2373.               %  | Brief Name     Your Description               |  %
  2374.               %  |  ALL #        All object classes              |  %
  2375.               %  |  Archive      Archive files                   |  %
  2376.               %  |  Chess        Chess games                     |  %
  2377.               %  |  Document     Document preparation view       |  %
  2378.               %  |  Finance      Financial management view       |  %
  2379.               %  |  Fonts        Laser printer fonts             |  %
  2380.               %  |  Graphics     Graphical objects               |  %
  2381.               %  |  Incontxt     InContext control artifacts     |  %
  2382.               %  |  Letters      Letters on various letterhead   |  %
  2383.               %  |  Messages     CompuServe messages             |  %
  2384.               %  |  Programs     Executable programs             |  %
  2385.               %  |  Source       Source programming view         |  %
  2386.               %  |  Tapcis       CIS- and TAPCIS-related stuff   |  %
  2387.               %  |  Ventura      Ventura Publisher artifacts     |  %
  2388.               %  |  Writing      Source author view              |  %
  2389.               %  |  Xref         Cross-references, maps, etc.    |  %
  2390.               %  +- ALL ---------------------------------- 1/16 -+  %
  2391.               %                                                     %
  2392.               %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  2393.  
  2394.  
  2395.    Defining the Views
  2396.    ------------------
  2397.  
  2398.       The  list  of  views,  and their definitions, are entirely under your
  2399.       control. You will probably find the views capability most helpful  if
  2400.       you use it to group together classes that are either:
  2401.  
  2402.          o  similar in type (e.g., "doc", "ltr", and "txt" are probably all
  2403.             ordinary text files)
  2404.  
  2405.          o  used together (e.g., the "wk1" and "prn" files used by Lotus 1-
  2406.             2-3  are  quite  different  classes,  but  are both involved in
  2407.             spreadsheet use).
  2408.  
  2409.  
  2410.  
  2411.  
  2412.  
  2413.  
  2414.  
  2415.  
  2416.  
  2417.    InContxt.DOC                      -37-                       August 1991
  2418.  
  2419.  
  2420.  
  2421.  
  2422.    InContext User Guide                                   OBJECTS AND VIEWS
  2423.  
  2424.  
  2425.                     %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  2426.                     %                                         %
  2427.                     %  Archive -- Archive files               %
  2428.                     %     arc                                 %
  2429.                     %     lzh                                 %
  2430.                     %     zip                                 %
  2431.                     %  Document -- Document preparation view  %
  2432.                     %     doc                                 %
  2433.                     %     fmt                                 %
  2434.                     %     lab                                 %
  2435.                     %     ltr                                 %
  2436.                     %     txt                                 %
  2437.                     %  Graphics -- Graphical object           %
  2438.                     %     gif                                 %
  2439.                     %     img                                 %
  2440.                     %     pcx                                 %
  2441.                     %  Fonts -- Laser printer fonts           %
  2442.                     %     sfl                                 %
  2443.                     %     sfp                                 %
  2444.                     %     usl                                 %
  2445.                     %     usp                                 %
  2446.                     %  Programs -- Executable programs        %
  2447.                     %     bat                                 %
  2448.                     %     com                                 %
  2449.                     %     exe                                 %
  2450.                     %                                         %
  2451.                     %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  2452.  
  2453.       The figure above illustrates a few possible views, with their defini-
  2454.       tions. In some cases, these view definitions are probably appropriate
  2455.       for you just as they are. For  example,  the  "Programs"  (executable
  2456.       programs)  view  is  defined to include all objects of classes "bat",
  2457.       "com", and "exe". MS-DOS dictates that only  these  classes  are  ex-
  2458.       ecutable programs. In other cases, though, your view definitions will
  2459.       be  dictated  by the way you use your computer. For example, the par-
  2460.       ticular classes that you might choose to include in a "document" view
  2461.       will be largely determined by the particular word processing software
  2462.       you use.
  2463.  
  2464.       To change the view definitions, simply select the Views  Display  and
  2465.       then  select the "Edit" command by pressing Function Key F2. You will
  2466.       see an editable view list. To  edit  a  view  definition,  place  the
  2467.       cursor  on  the  relevant  line  and  press  F2  again. You'll see an
  2468.       editable list of class names. For more  information  on  use  of  the
  2469.       editing  facilities,  refer  to "Editing Dictionaries" in the earlier
  2470.       chapter, Interacting with InContext".
  2471.  
  2472.  
  2473.  
  2474.  
  2475.  
  2476.    InContxt.DOC                      -38-                       August 1991
  2477.  
  2478.  
  2479.  
  2480.  
  2481.    InContext User Guide                                   OBJECTS AND VIEWS
  2482.  
  2483.  
  2484.    Selecting an Object
  2485.    -------------------
  2486.  
  2487.       When you locate the object  you're  interested  in,  you  can  simply
  2488.       select  it directly from the Main Window. This will cause the actions
  2489.       associated with the object's class to  be  available  for  selection.
  2490.       Selecting  the  object  "videotap.doc",  however, might result in the
  2491.       following list of available actions. These actions are those  defined
  2492.       for  a  "doc" object, including edit, spellchk (check spelling), etc.
  2493.       By simply selecting one of those with the mouse or keyboard, you  can
  2494.       perform that action on the object.
  2495.  
  2496.                                    %%%%%%%%%%%%%%
  2497.                                    %            %
  2498.                                    %  Actions   %
  2499.                                    %  Edit      %
  2500.                                    %  View      %
  2501.                                    %  Archive   %
  2502.                                    %  Copy      %
  2503.                                    %  Delete    %
  2504.                                    %  Print     %
  2505.                                    %  Rename    %
  2506.                                    %  Take      %
  2507.                                    %  Spellchk  %
  2508.                                    %            %
  2509.                                    %%%%%%%%%%%%%%
  2510.  
  2511.       The  following  actions  are  available  when  a  group of objects is
  2512.       selected (i.e., when no object has been selected). For example, these
  2513.       actions include "view_all" (look at them all, with no possibility  of
  2514.       changing  them)  and  "del_all"  (delete the whole set, after getting
  2515.       user verification).
  2516.  
  2517.                                    %%%%%%%%%%%%%%
  2518.                                    %            %
  2519.                                    %  Actions   %
  2520.                                    %  Edit-all  %
  2521.                                    %  View-all  %
  2522.                                    %  Arc-all   %
  2523.                                    %  Copy-all  %
  2524.                                    %  Del-all   %
  2525.                                    %            %
  2526.                                    %%%%%%%%%%%%%%
  2527.  
  2528.  
  2529.  
  2530.  
  2531.  
  2532.  
  2533.  
  2534.  
  2535.    InContxt.DOC                      -39-                       August 1991
  2536.  
  2537.  
  2538.  
  2539.  
  2540.    InContext User Guide                                   OBJECTS AND VIEWS
  2541.  
  2542.  
  2543.    The Objects Display
  2544.    -------------------
  2545.  
  2546.       Sometimes, the "Objects" area of the  Main  Window  is  insufficient,
  2547.       either  because  it  doesn't  have enough space or because it doesn't
  2548.       provide enough information about each  object.  In  such  cases,  the
  2549.       Objects  Command and its associated Objects Display are used. This is
  2550.       invoked by typing 'o', or by placing the cursor on "Objects"  in  the
  2551.       Command  Bar  and  pressing  ENTER or the left mouse button. The left
  2552.       portion of the resulting display is shown below.
  2553.  
  2554.          %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  2555.          %                                                               %
  2556.          %   Dir: H. Rudy Ramsey Personal Center -- RUDY                 %
  2557.          %   Drive: C   View: Document  Class: ALL   Object:             %
  2558.          %                                         ==Object=(Full=Mode,  %
  2559.          %  ================Modes:=@Full=@Brief===Orders:=@Class=@Name=  %
  2560.          %  |                                                            %
  2561.          %  |   Filename       Size Attr   Date    Time                  %
  2562.          %  | biograph.doc     1018 ....  8/16/88  10:30                 %
  2563.          %  | camplist.doc     1201 ....  11/8/85  14:02                 %
  2564.          %  |    humor.doc     3075 ....  11/8/85  14:02                 %
  2565.          %  |    music.doc     6647 a...  12/3/90  10:12                 %
  2566.          %  |    names.doc    11319 ....  2/18/87  11:33                 %
  2567.          %  | pararecm.doc     5021 .... 11/19/88   9:25                 %
  2568.          %  |  pccodes.doc     7930 ....  6/14/88   9:03                 %
  2569.          %  |  publist.doc    15488 ....  2/27/84  22:22                 %
  2570.          %  |     pubs.doc      188 ....   2/8/85  19:45                 %
  2571.          %  |   resume.doc     4638 ....  4/30/86  20:11                 %
  2572.          %  |    songs.doc      153 .... 10/23/88  14:40                 %
  2573.          %  |  storybd.doc    23802 ....  3/19/87  20:26                 %
  2574.          %  | superemt.doc     2366 a... 10/30/90  10:49                 %
  2575.          %  |     temp.doc      276 a...  7/31/90  14:00                 %
  2576.          %  |     test.doc       37 ....  11/2/89  22:27                 %
  2577.          %  | videotap.doc #   5754 a...  2/10/90  14:28                 %
  2578.          %  | highland.lab       98 a...  10/5/90  19:49                 %
  2579.          %  +----------------------------------------------------------  %
  2580.          %  ==Select=desired=item,=or=select=command=from=list=at=top==  %
  2581.          %                                                               %
  2582.          %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  2583.  
  2584.       This display contains one line of information for each object in  the
  2585.       current  directory  (or  view,  or  class, if you've selected these).
  2586.       Consider the next-to-last line (where the cursor  is),  which  repre-
  2587.       sents  the  "videotap.doc"  object. This line shows the brief name of
  2588.       the object, and its size (5754 bytes).  It  indicates  the  DOS  file
  2589.       attributes of the object (see next paragraph). It also indicates when
  2590.       the object was last updated (2:28 P.M. on 2/10/90).
  2591.  
  2592.  
  2593.  
  2594.    InContxt.DOC                      -40-                       August 1991
  2595.  
  2596.  
  2597.  
  2598.  
  2599.    InContext User Guide                                   OBJECTS AND VIEWS
  2600.  
  2601.  
  2602.       The  DOS  attributes  are displayed as four characters, each of which
  2603.       may be a letter indicating a particular property of the object, or  a
  2604.       period  ('.') indicating that the object does not have that property.
  2605.       The properties are:
  2606.  
  2607.          a  archive bit set; this means that  the  file  has  been  updated
  2608.             since  the  last  time  you did a system backup to tape or dis-
  2609.             kettes.
  2610.  
  2611.          d  directory; this indicates that the object is a directory rather
  2612.             than a simple file. (A future version of  InContext  may  treat
  2613.             some  directories as objects; you won't see this attribute with
  2614.             the current version.)
  2615.  
  2616.          r  read-only; this object cannot be altered without  first  reset-
  2617.             ting this attribute.
  2618.  
  2619.          s  system  file; ordinarily, this applies only to two files in the
  2620.             root directory. You should probably leave these objects alone.
  2621.  
  2622.  
  2623.       Because it has no special attributes (its  attribute  description  is
  2624.       "a..."),  "videotap.doc"  is  just  an  ordinary  file.  It  has been
  2625.       modified since the last disk backup.
  2626.  
  2627.  
  2628.       Object Display Formats
  2629.       ----------------------
  2630.       Some of the displays have  alternative  display  formats  or  layouts
  2631.       which you may occasionally prefer to the standard format. In general,
  2632.       you  can  select  any  the  available  display  formats  (also called
  2633.       "Modes") by picking its name from the Command Bar.
  2634.  
  2635.       The Objects Display has an alternative  format,  called  the  "Brief"
  2636.       mode.  This  display  format  simply omits all information except the
  2637.       brief names of the objects, in order to display as  many  objects  as
  2638.       possible. Since you can also page or scroll up an down in the window,
  2639.       this  display  is effectively unlimited in capacity, whereas the Main
  2640.       Window can only show a  limited  number  of  objects  and  allows  no
  2641.       scrolling or paging.
  2642.  
  2643.  
  2644.       Object Sort Orders
  2645.       ------------------
  2646.       Just  as there are alternative display formats, there are also alter-
  2647.       native sorting orders available  for  some  displays,  including  the
  2648.       Objects  Display. You can choose the various sort orders by selecting
  2649.       their names from the Command Bar. The available object orders are:
  2650.  
  2651.  
  2652.  
  2653.    InContxt.DOC                      -41-                       August 1991
  2654.  
  2655.  
  2656.  
  2657.  
  2658.    InContext User Guide                                   OBJECTS AND VIEWS
  2659.  
  2660.  
  2661.          Class  The default order displays the  objects  by  class  in  al-
  2662.                 phabetical  order.  Within  a  class,  the  objects are al-
  2663.                 phabetically ordered by name.
  2664.  
  2665.          Name   The "Name" order is alphabetical  by  name,  regardless  of
  2666.                 class.
  2667.  
  2668.          Size   Objects are displayed in inverse order by size, so that the
  2669.                 largest object is first, and the smallest is last.
  2670.  
  2671.          Date   The  "Date"  order  is  in  inverse  order  by date of last
  2672.                 change, with the most recently changed file first.
  2673.  
  2674.  
  2675.  
  2676.  
  2677.  
  2678.  
  2679.  
  2680.  
  2681.  
  2682.  
  2683.  
  2684.  
  2685.  
  2686.  
  2687.  
  2688.  
  2689.  
  2690.  
  2691.  
  2692.  
  2693.  
  2694.  
  2695.  
  2696.  
  2697.  
  2698.  
  2699.  
  2700.  
  2701.  
  2702.  
  2703.  
  2704.  
  2705.  
  2706.  
  2707.  
  2708.  
  2709.  
  2710.  
  2711.  
  2712.    InContxt.DOC                      -42-                       August 1991
  2713.  
  2714.  
  2715.  
  2716.  
  2717.    InContext User Guide                                               SPACE
  2718.  
  2719.  
  2720.        
  2721.                                    +-------+
  2722.                                    | SPACE |
  2723.                                    +-------+
  2724.  
  2725.  
  2726.  
  2727.    Spatial Organization
  2728.    --------------------
  2729.  
  2730.       Properly used, the directory structure on  your  disk(s)  provides  a
  2731.       very  powerful  means  of  organizing your electronic work space. The
  2732.       directory structure is conveniently thought of as a structured SPACE,
  2733.       just like the space in your office, workshop, or kitchen.  Each  part
  2734.       of such a space contains materials that are relevant to the work done
  2735.       there. To do different kinds of work, you MOVE from place to place.
  2736.  
  2737.       In  the electronic world, as in the physical world, the organized use
  2738.       of space can help you focus your attention on the work  at  hand.  In
  2739.       most cases, you will gain real benefits if you:
  2740.  
  2741.          o  set  up a separate directory for each of your significant func-
  2742.             tions.
  2743.  
  2744.          o  put in each directory only  those  materials  relevant  to  the
  2745.             function performed there.
  2746.  
  2747.          o  use subdirectories whenever a function has separate parts whose
  2748.             materials need to be kept separate.
  2749.  
  2750.  
  2751.       MS-DOS  provides  relatively  poor support for actually moving around
  2752.       such a space or for managing materials in  this  way.  Unfortunately,
  2753.       even  many  application  programs  make  this  way of organizing more
  2754.       difficult. For example, many word processors  assume  that  you  will
  2755.       keep  all  your  documents  in  a  directory  that's dedicated to the
  2756.       PROGRAM. Similarly, users of  Lotus  1-2-3  are  encouraged,  by  the
  2757.       program,  to keep all their spreadsheets together in a 123 directory.
  2758.       This is rather unlike the way you operate in the physical  world,  in
  2759.       which  you  most likely keep TOGETHER your letter to the IRS (a docu-
  2760.       ment) and the spreadsheets you used to prepare your tax return.
  2761.  
  2762.       InContext will operate quite satisfactorily either way, but it  gives
  2763.       you  the  power  to  organize  your space by function, rather than by
  2764.       program, if you wish. It does this in part by allowing you to  define
  2765.       object  class  behavior  so that you're no longer so dependent on the
  2766.       assumptions of the programs you run. It also makes it very convenient
  2767.       for you to move around from place to place.
  2768.  
  2769.  
  2770.  
  2771.    InContxt.DOC                      -43-                       August 1991
  2772.  
  2773.  
  2774.  
  2775.  
  2776.    InContext User Guide                                               SPACE
  2777.  
  2778.  
  2779.    Moving from Place to Place
  2780.    --------------------------
  2781.  
  2782.       First, let's review what it means, in using InContext,  to  be  in  a
  2783.       particular  place.  In  the following display, the Context Area shows
  2784.       you that you're currently  in  the  directory  C:\ALICE\COUNCIL.  The
  2785.       display shows some of the objects in this directory.
  2786.  
  2787.                    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  2788.                    %                                           %
  2789.                    %   Dir: C:\ALICE\COUNCIL                   %
  2790.                    %   Drive: C   View: ALL       Class: doc   %
  2791.                    %  =Space==Time==Plans==WiP====View==Class  %
  2792.                    %  |                                     |  %
  2793.                    %  |  Views  Class   Objects   Actions   |  %
  2794.                    %  | ALL      ALL   calend.doc View-all  |  %
  2795.                    %  | Archive  doc  committ.doc Edit-all  |  %
  2796.                    %  | Chess    fmt counclst#doc Arc-all   |  %
  2797.                    %  | Document ltr  counrep.doc Copy-all  |  %
  2798.                    %  | Finance       counrul.doc Del-all   |  %
  2799.                    %  | Fonts         rulemin.doc           |  %
  2800.                    %  | Graphics                            |  %
  2801.                    %  | Incontxt                            |  %
  2802.                    %  | Letters                             |  %
  2803.                    %  | Messages                            |  %
  2804.                    %                                           %
  2805.                    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  2806.  
  2807.       There  are  several different ways to move from one place (directory)
  2808.       to another, as discussed in the following sections.
  2809.  
  2810.  
  2811.       The Space Command
  2812.       -----------------
  2813.       One way of moving around  is  the  Space  Display.  This  display  is
  2814.       brought up by selecting "Space" from the Command Bar (using mouse, or
  2815.       using  cursor  keys  and  ENTER  or by typing "S"). The Space Display
  2816.       offers various ways of looking around your space. The  "Tree"  format
  2817.       is shown below. In this format, the hierarchic structure of your disk
  2818.       is shown in a graphical tree-like display.
  2819.  
  2820.  
  2821.  
  2822.  
  2823.  
  2824.  
  2825.  
  2826.  
  2827.  
  2828.  
  2829.  
  2830.    InContxt.DOC                      -44-                       August 1991
  2831.  
  2832.  
  2833.  
  2834.  
  2835.    InContext User Guide                                               SPACE
  2836.  
  2837.  
  2838.           %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  2839.           %                                                              %
  2840.           %   Dir: Alice Ramsey Personal Center -- ALICE                 %
  2841.           %   Drive: C   View: Document  Class: doc   Object: afhsmin.d  %
  2842.           %  =Space=(Tree=Mode)=====                                     %
  2843.           %  ======================================Modes:=@Tree=@Name=@  %
  2844.           %  |     Directory                    Brief Name   Your Descr  %
  2845.           %  | C:                                                        %
  2846.           %  | +--ALICE                           Alice     Alice Ramse  %
  2847.           %  | |  +--COUNCIL      #                         Legislative  %
  2848.           %  | |  +--LWVADS.VPP                                          %
  2849.           %  | +--BBS                             Bbs       BBS Center   %
  2850.           %  | |  +--BACKUP                                              %
  2851.           %  | +--BRIEF                                                  %
  2852.           %  | |  +--BACKUP                                              %
  2853.           %  | |  +--HELP                                                %
  2854.           %  | |  +--MACROS                                              %
  2855.           %  | +--CHRIS                                     Chris Ramse  %
  2856.           %                                                              %
  2857.           %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  2858.  
  2859.       In  this  figure, you can see that the current directory, "C:\ALICE",
  2860.       has the text description "Alice  Ramsey  Personal  Center",  and  the
  2861.       brief  name  "ALICE". (A later section will describe how and why such
  2862.       descriptions are attached to  directories.)  To  select  a  different
  2863.       directory,  just  select  the  desired directory. For example, in the
  2864.       display above, the cursor is  on  the  directory  "C:\ALICE\COUNCIL",
  2865.       which  also has the description, "Legislative Council Center". If the
  2866.       left mouse button or the ENTER key is pressed, we will move into that
  2867.       directory.
  2868.  
  2869.       The Space Display offers three different  formats,  or  MODES.  These
  2870.       modes are selectable from the Command Bar. The available modes are:
  2871.  
  2872.          Tree     Shown  in  the  figure just above, this mode displays the
  2873.                   directory structure in the form of a tree.
  2874.  
  2875.          Name     This mode displays the directories in alphabetical order,
  2876.                   by name.
  2877.  
  2878.          Subdirs  This mode displays only  subdirectories  of  the  current
  2879.                   directory.
  2880.  
  2881.  
  2882.  
  2883.       The Go Display
  2884.       --------------
  2885.       A  look back at the previous figure will show that some of the direc-
  2886.       tories displayed there  have  "Brief  Names"  associated  with  them.
  2887.  
  2888.  
  2889.    InContxt.DOC                      -45-                       August 1991
  2890.  
  2891.  
  2892.  
  2893.  
  2894.    InContext User Guide                                               SPACE
  2895.  
  2896.  
  2897.       Whenever  such  names  are defined, the names show up on the Go list.
  2898.       That list can be accessed by selecting the Go Command from  the  Com-
  2899.       mand  Bar. In the Go Display below, for example, you can see that the
  2900.       names "Alice", "Finance", and "Personal" have been assigned  to  par-
  2901.       ticular  directories.  You  can  move  to any of those directories by
  2902.       simply selecting its name from this display.
  2903.  
  2904.               %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  2905.               %                                                     %
  2906.               %  -------------------------------------==Go====----  %
  2907.               %  ==========================================@Help==  %
  2908.               %  |                                               |  %
  2909.               %  | Brief Name     Your Description               |  %
  2910.               %  |  Alice #      Alice Ramsey Personal Center    |  %
  2911.               %  |  Bbs          BBS Center                      |  %
  2912.               %  |  Betatest     Beta Test Center                |  %
  2913.               %  |  Chess        Chess Center                    |  %
  2914.               %  |  Diskdocs     InContext Diskette Documents    |  %
  2915.               %  |  Ems          Newtown Volunteer Ambulance Co  |  %
  2916.               %  |  Finance      Ramsey Family Finance Center    |  %
  2917.               %  |  Genealog     Genealogy Center                |  %
  2918.               %  |  Hrredit      HRR Editor Library              |  %
  2919.               %  |  Import       Import Center                   |  %
  2920.               %  |  Library      HRR Function Libraries          |  %
  2921.               %  |  Misctool     HRR Miscellaneous Tools         |  %
  2922.               %  |  Objects      InContext Artifacts             |  %
  2923.               %  |  Personal     H. Rudy Ramsey Personal Center  |  %
  2924.               %  |  Ramsisle     Rams' Island Software           |  %
  2925.               %  |  Swdev        Software Development Center     |  %
  2926.               %  +-----------------------------------------------+  %
  2927.               %                                                     %
  2928.               %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  2929.  
  2930.       This display shows both the brief name and the text  description  for
  2931.       those directories to which you have given such properties. By keeping
  2932.       your  frequently  used directories on this list, you make it possible
  2933.       to move around very rapidly among  these  places.  You  can  use  the
  2934.       cursor, or the first letter of the desired brief name, to move to any
  2935.       of the directories on this list.
  2936.  
  2937.       The brief Go names may also be displayed as part of the Main Display,
  2938.       if you have chosen to do so. In that case, they appear like this:
  2939.  
  2940.  
  2941.  
  2942.  
  2943.  
  2944.  
  2945.  
  2946.  
  2947.  
  2948.    InContxt.DOC                      -46-                       August 1991
  2949.  
  2950.  
  2951.  
  2952.  
  2953.    InContext User Guide                                               SPACE
  2954.  
  2955.  
  2956.                                    %%%%%%%%%%%%%%
  2957.                                    %            %
  2958.                                    %    Go      %
  2959.                                    %  Alice #   %
  2960.                                    %  Bbs       %
  2961.                                    %  Betatest  %
  2962.                                    %  Chess     %
  2963.                                    %  Diskdocs  %
  2964.                                    %  Ems       %
  2965.                                    %  Finance   %
  2966.                                    %  Genealog  %
  2967.                                    %  Hrredit   %
  2968.                                    %  Import    %
  2969.                                    %  Library   %
  2970.                                    %  Misctool  %
  2971.                                    %  Objects   %
  2972.                                    %  Personal  %
  2973.                                    %  Ramsisle  %
  2974.                                    %  Swdev     %
  2975.                                    %  Tapcis    %
  2976.                                    %  Userguid  %
  2977.                                    %            %
  2978.                                    %%%%%%%%%%%%%%
  2979.  
  2980.  
  2981.       Editing Directory Information
  2982.       -----------------------------
  2983.       To  change  the  brief  names  and descriptions for your directories,
  2984.       simply select the Space Display, and  then  select  "Edit"  from  the
  2985.       Command  Bar  (or  press  F2,  which is the Edit key). You will see a
  2986.       display like the following.
  2987.  
  2988.  
  2989.  
  2990.  
  2991.  
  2992.  
  2993.  
  2994.  
  2995.  
  2996.  
  2997.  
  2998.  
  2999.  
  3000.  
  3001.  
  3002.  
  3003.  
  3004.  
  3005.  
  3006.  
  3007.    InContxt.DOC                      -47-                       August 1991
  3008.  
  3009.  
  3010.  
  3011.  
  3012.    InContext User Guide                                               SPACE
  3013.  
  3014.  
  3015.          %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  3016.          %                                                                %
  3017.          %   Dir: Alice Ramsey Personal Center -- ALICE                   %
  3018.          %   Drive: C   View: ALL       Class: ALL   Object:              %
  3019.          %  =Space=(Tree=Mode)=====                                       %
  3020.          %  ======================================Modes:=@Tree=@Name=@Su  %
  3021.          %  |     Directory                    Brief Name   Your Descrip  %
  3022.          %  | C:                                 ========  =============  %
  3023.          %  | +--ALICE                           Alice===  Alice=Ramsey=  %
  3024.          %  | |  +--COUNCIL  #                   ========  Legislative=C  %
  3025.          %  | |  +--LWVADS.VPP                   ========  =============  %
  3026.          %  | +--BBS                             Bbs=====  BBS=Center===  %
  3027.          %  | |  +--BACKUP                       ========  =============  %
  3028.          %  | +--BRIEF                           ========  =============  %
  3029.          %  | |  +--BACKUP                       ========  =============  %
  3030.          %  | |  +--HELP                         ========  =============  %
  3031.          %  | |  +--MACROS                       ========  =============  %
  3032.          %  | +--CHRIS                           ========  Chris=Ramsey=  %
  3033.          %  | |  +--PAPERS.VPP                   ========  =============  %
  3034.          %  | +--DOCS                            ========  =============  %
  3035.          %  | +--DOS                             ========  =============  %
  3036.          %  | +--DV                              ========  =============  %
  3037.          %  | +--FONTS                           ========  =============  %
  3038.          %  | |  +--LINPRINT                     ========  =============  %
  3039.          %  | |  +--VFONT                        ========  =============  %
  3040.          %  +-  C:\ALICE\COUNCIL ---------------------------------------  %
  3041.          %  ==Edit=as=desired.==Use=tabs=or=mouse=to=move=around,=ESC=to  %
  3042.          %                                                                %
  3043.          %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  3044.  
  3045.       The "Brief Name" and "Your Description" fields of all directories are
  3046.       editable in this display. For more  information  about  editing  such
  3047.       displays,  see  the  discussion  on "Editing" in the earlier chapter,
  3048.       "Interacting with InContext". You will probably find it most  helpful
  3049.       to  assign  brief  names  to only those directories in which you fre-
  3050.       quently work, and to use unique starting  letters  for  these  direc-
  3051.       tories.
  3052.  
  3053.  
  3054.  
  3055.  
  3056.  
  3057.  
  3058.  
  3059.  
  3060.  
  3061.  
  3062.  
  3063.  
  3064.  
  3065.  
  3066.    InContxt.DOC                      -48-                       August 1991
  3067.  
  3068.  
  3069.  
  3070.  
  3071.    InContext User Guide                                 CLASSES AND ACTIONS
  3072.  
  3073.  
  3074.        
  3075.                             +---------------------+
  3076.                             | CLASSES AND ACTIONS |
  3077.                             +---------------------+
  3078.  
  3079.  
  3080.  
  3081.    The Basics of Class Definition
  3082.    ------------------------------
  3083.  
  3084.  
  3085.       The  basic ideas of objects, classes, and actions have been discussed
  3086.       in previous chapters. This chapter tells you how to define  your  own
  3087.       object  CLASSES,  and  how  to change the definitions of the existing
  3088.       ones. If you are just becoming familiar with InContext for the  first
  3089.       time,  you  might  want  to skip this chapter and return to it later,
  3090.       when you feel the need to operate at this level.
  3091.  
  3092.       There are two kinds of information which may be involved in  defining
  3093.       an   object   class.   These  are  called  "action  definitions"  and
  3094.       "templates".
  3095.  
  3096.       An ACTION DEFINITION specifies what actions can be performed  with  a
  3097.       particular  type  of  object.  For each action, the action definition
  3098.       specifies the detailed procedure required to execute it. This  proce-
  3099.       dure  is  similar, in some respects, to a batch file, but may be more
  3100.       sophisticated. Thus, the action definitions associated with a  "docu-
  3101.       ment"  class  might  include an "edit" action, and might define it in
  3102.       terms of invocation of a text editor. Whenever you do  anything  with
  3103.       an object using InContext, an action definition is being used. If the
  3104.       object  is  of  a defined class, then the action definitions for that
  3105.       class are used. Otherwise, a default ("common") set of action defini-
  3106.       tions is used.
  3107.  
  3108.       For many classes that you will work with, the default action  defini-
  3109.       tion  may  be  enough.  You  will  undoubtedly want to create special
  3110.       action definitions for some classes, however.
  3111.  
  3112.       An object class may also have a  TEMPLATE.  Whenever  you  create  an
  3113.       object  using  InContext's  "Create  Object" command (or function key
  3114.       F9), a template is being  used.  For  example,  you  might  define  a
  3115.       template for a "letter" class, complete with your name and address at
  3116.       the top. Then, whenever you use InContext to create an object of that
  3117.       class,  the object will contain your letterhead right from the moment
  3118.       of its creation. The template is simply copied to make  the  new  ob-
  3119.       ject,  so  this  method only works for some kinds of objects. You can
  3120.       use this method, for example, to define special classes of documents,
  3121.       spreadsheets, and so on. Some  kinds  of  objects  (e.g.,  executable
  3122.       programs,  such  as  "exe" and "com") simply don't work this way, and
  3123.  
  3124.  
  3125.    InContxt.DOC                      -49-                       August 1991
  3126.  
  3127.  
  3128.  
  3129.  
  3130.    InContext User Guide                                 CLASSES AND ACTIONS
  3131.  
  3132.  
  3133.       must be created using other tools and procedures.
  3134.  
  3135.       Action definitions  and  templates  operate  entirely  independently.
  3136.       Thus,  you  can  define  a class using only a template if you plan to
  3137.       just use the default action definition to work with the objects  once
  3138.       they are created. More commonly, you can define a class using only an
  3139.       action  definition  if you don't intend to create new objects of this
  3140.       type, or if they can be created as empty files.
  3141.  
  3142.  
  3143.    Creating and Modifying Templates
  3144.    --------------------------------
  3145.  
  3146.  
  3147.       As discussed in the "Installation and Setup" chapter, the files  that
  3148.       control  the behavior of InContext are installed in a special "InCon-
  3149.       text  directory".  The  usual  pathname   for   this   directory   is
  3150.       "C:\INCONTXT",  but  it  can  be  something else if you choose. Among
  3151.       other things, this directory contains all the  class  templates  (ob-
  3152.       jects  whose  class  name  is  "tpl")  and all the action definitions
  3153.       (objects whose class name is "act"). The templates may be visible  in
  3154.       the  directory,  or they may be compressed into a single archive file
  3155.       (template.lzh). Similarly, the action definitions may be visible,  or
  3156.       they may be compressed into an archive file (actions.lzh).
  3157.  
  3158.       To  create  a template for a class, you simply prepare a file so that
  3159.       it has exactly the content you want for newly created objects of  the
  3160.       class.  Then  copy  or  move  the  file into the InContext directory,
  3161.       giving it the appropriate template name. Suppose, for  example,  that
  3162.       you want to prepare a monthly expense record for income tax purposes.
  3163.       Since  these  expense records have a special purpose and special con-
  3164.       tent, it is appropriate to define them as a special class  of  object
  3165.       (say  "exp").  You might use Lotus 1-2-3 to set up a spreadsheet with
  3166.       the content you want each new expense record to have.  Then  copy  or
  3167.       move this file into the InContext directory using the name "exp.tpl".
  3168.       This  file  will  then be used as the template for the "exp" (expense
  3169.       record) class. If you choose, you may archive the new template in the
  3170.       "template.lzh" archive, in order to conserve  disk  space.  InContext
  3171.       will  simply  extract  it each time it's needed to create a new "exp"
  3172.       object.
  3173.  
  3174.  
  3175.    Action Lists
  3176.    ------------
  3177.  
  3178.       Behind the scenes, there are actually several different action  lists
  3179.       that  determine  what  actions  are  available  under particular cir-
  3180.       cumstances. Each of these is a list of action definitions.
  3181.  
  3182.  
  3183.  
  3184.    InContxt.DOC                      -50-                       August 1991
  3185.  
  3186.  
  3187.  
  3188.  
  3189.    InContext User Guide                                 CLASSES AND ACTIONS
  3190.  
  3191.  
  3192.          Common  Applies to all single objects, regardless  of  class.  The
  3193.                  common  list  includes  actions like "copy", "delete", and
  3194.                  "rename", which pretty much mean the same  thing  for  all
  3195.                  objects.
  3196.  
  3197.          Class   Defines  the  actions  that  can  be performed on a single
  3198.                  object of a specified class. These actions are in addition
  3199.                  to the common actions, though they may  also  override  or
  3200.                  cancel those actions.
  3201.  
  3202.          Group   Determines  what  actions  can  be performed on a group of
  3203.                  objects.
  3204.  
  3205.  
  3206.  
  3207.       The Common Action List
  3208.       ----------------------
  3209.       The common action list contains those actions that  apply  to  single
  3210.       objects,  regardless of class. These actions can be overridden by the
  3211.       action list of an individual class, but for the most part, this  list
  3212.       should  contain  those  actions  that apply uniformly to all objects.
  3213.       Like all the action lists, this list is under your control,  and  can
  3214.       be  changed  to  suit your needs. As issued by Rams' Island Software,
  3215.       though, this list contains the following actions:
  3216.  
  3217.          Edit     In the common action list, this action asks the  user  to
  3218.                   verify that the object is an ASCII text file. If the user
  3219.                   says "No", the procedure is aborted, while a "Yes" answer
  3220.                   invokes the preferred text editor (by default, the inter-
  3221.                   nal editor) on the object.
  3222.  
  3223.                   If  you substitute your own editor, and that editor won't
  3224.                   do damage if invoked on a non-text  file,  you  may  also
  3225.                   wish to eliminate the question about ASCII files.
  3226.  
  3227.                   In  any  event,  whenever you create an action list for a
  3228.                   specific class, you will want to override this action  by
  3229.                   defining  an  "Edit"  action  there. An action definition
  3230.                   there which lacks a procedure would cause "Edit"  not  to
  3231.                   appear on the displayed action list at all.
  3232.  
  3233.          View     This  action  allows  any  object  to  be viewed, without
  3234.                   possibility of modification. As currently provided,  this
  3235.                   action is set up to use InContext's internal file viewer.
  3236.                   You  may  choose to substitute some other viewer, such as
  3237.                   Vern Buerg's LIST program.  In  any  event,  this  action
  3238.                   should be overridden in individual class definitions when
  3239.                   appropriate.  Thus,  to  "View" a graphical image, an ap-
  3240.                   propriate image viewer should be used, rather than a text
  3241.  
  3242.  
  3243.    InContxt.DOC                      -51-                       August 1991
  3244.  
  3245.  
  3246.  
  3247.  
  3248.    InContext User Guide                                 CLASSES AND ACTIONS
  3249.  
  3250.  
  3251.                   or hex viewer.
  3252.  
  3253.          Archive  This action asks the user for the name of an LHA archive,
  3254.                   and adds the selected object to  that  archive.  A  pause
  3255.                   occurs to allow the user to verify (by reading the output
  3256.                   of  LHA) that the operation was successful. Then the user
  3257.                   is given an opportunity to delete the selected object.
  3258.  
  3259.          Copy     This action invokes  an  internal  file  copy  operation,
  3260.                   after  asking the user for a new filename or destination.
  3261.                   You may also copy or move objects (without changing their
  3262.                   names) with the "Take" and  "Put"  actions  (see  "Take",
  3263.                   below).
  3264.  
  3265.          Delete   This  action  allows  you  to  delete  an object, after a
  3266.                   verification step to give you a  chance  to  change  your
  3267.                   mind or to avoid accidental deletion.
  3268.  
  3269.          Print    In  the  common action list, this action asks the user to
  3270.                   verify that the object is an ASCII text file. If the user
  3271.                   says "No", the procedure is aborted, while a "Yes" answer
  3272.                   invokes the normal  DOS  print  command  on  the  object.
  3273.                   Whenever  you create an action list for a specific class,
  3274.                   you will want to  override  this  action  by  defining  a
  3275.                   "Print" action there.
  3276.  
  3277.          Rename   This action allows you to rename a file. In doing so, you
  3278.                   are  free to change its filename prefix and/or its class,
  3279.                   if appropriate.
  3280.  
  3281.          Take     This action allows you to pick up an object and carry  it
  3282.                   with  you  as  you  move to another directory. If you are
  3283.                   carrying an object, a "Put-obj" action is  added  to  the
  3284.                   list of actions available to you. If you select the "Put-
  3285.                   obj"  action,  you will be asked whether you want to move
  3286.                   it there or make a copy there, and the  requested  opera-
  3287.                   tion will be performed. If you "Take" an object and never
  3288.                   "Put"  it  anywhere, no damage is done; it remains in its
  3289.                   original place.
  3290.  
  3291.  
  3292.  
  3293.       The Action List for an Individual Class
  3294.       ---------------------------------------
  3295.       You may define whatever actions you like for an individual class.  In
  3296.       addition  to  adding actions not already defined in the common action
  3297.       list, a class action list can undefine or redefine the  actions  that
  3298.       are on the common list. This gives you considerable flexibility.
  3299.  
  3300.  
  3301.  
  3302.    InContxt.DOC                      -52-                       August 1991
  3303.  
  3304.  
  3305.  
  3306.  
  3307.    InContext User Guide                                 CLASSES AND ACTIONS
  3308.  
  3309.  
  3310.       Many  class  action lists will define the "edit", "view", and "print"
  3311.       actions differently than they are defined in the common action lists.
  3312.       For example, the Lotus 1-2-3 spreadsheet class "wk1" might be  edited
  3313.       using Lotus 1-2-3, and might have no separate view action.
  3314.  
  3315.       To  override  a  definition  in the common action list, you need only
  3316.       provide a definition with the same action name.  If  that  definition
  3317.       has a procedure, it will override the common action, and if it has no
  3318.       procedure, it will cancel that action altogether.
  3319.  
  3320.  
  3321.       The Group Action List
  3322.       ---------------------
  3323.       The  group action list defines the actions that can be performed on a
  3324.       group of objects. Such a group is  always  confined  to  the  current
  3325.       directory,  but  may  consist of all the objects in the directory, or
  3326.       only those in a particular view  or  class.  Initially,  the  actions
  3327.       defined in the group action list include:
  3328.  
  3329.          Edit-all  This action allows you to edit a group of objects. It is
  3330.                    initially  set  up to use the internal InContext editor,
  3331.                    which handles only ASCII text files and  does  not  cur-
  3332.                    rently  have  a  multiple-file  capability. It therefore
  3333.                    asks the user to verify that the objects are text files,
  3334.                    and then allows you to edit  the  objects  sequentially,
  3335.                    one  after  another.  If  you  have  a  text editor with
  3336.                    multiple-file capability, you will undoubtedly  want  to
  3337.                    change this action's definition to make use of it.
  3338.  
  3339.          View-all  This action allows you to view a group of objects. It is
  3340.                    initially  set  up to use the internal InContext viewer,
  3341.                    which  does   not   currently   have   a   multiple-file
  3342.                    capability.  If  you  have  a  viewer with multiple-file
  3343.                    capability, such as LIST,  you  will  probably  want  to
  3344.                    substitute it in this action.
  3345.  
  3346.          Arc-all   This  action  adds  the  objects to a specified archive,
  3347.                    using the public-domain archive/compression program LHA.
  3348.  
  3349.          Copy-all  This action asks you where you want the objects  copied,
  3350.                    and performs an internal copy operation.
  3351.  
  3352.          Del-all   This  action  deletes  all  the objects, either one at a
  3353.                    time (with individual verification) or as  a  group,  if
  3354.                    you specify that.
  3355.  
  3356.  
  3357.  
  3358.  
  3359.  
  3360.  
  3361.    InContxt.DOC                      -53-                       August 1991
  3362.  
  3363.  
  3364.  
  3365.  
  3366.    InContext User Guide                                 CLASSES AND ACTIONS
  3367.  
  3368.  
  3369.    Editing the Action Lists
  3370.    ------------------------
  3371.  
  3372.       To edit the action definitions, simply select the Action command, and
  3373.       then  select  "Edit" from the Command Bar. This will result in a dis-
  3374.       play like the following.
  3375.  
  3376.       %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  3377.       %                                                                       %
  3378.       %  InContext Diskette Documents -- DOCS                      1/12/91    %
  3379.       %  : C   View: Document  Class: wdx   Object: incontxt.wdx   Task: doc  %
  3380.       %  -----------------------------------------==Action====--------------  %
  3381.       %                ==All=Actions=of=Class="wdx"=======@Edit==@Help==      %
  3382.       %  y     Hours   |                                               |      %
  3383.       %  ====  6 ....  | Brief Name     Your Description               |      %
  3384.       %  ====  7 ....  |  Edit         Edit object if ASCII text       |      %
  3385.       %  ====  8 ....  |  View         View using internal viewer      |      %
  3386.       %                |  Archive      Archive the object              |      %
  3387.       %    ==Which=action=set=do=you=want=to=edit?========================    %
  3388.       %    | Action definition for this class #                          |    %
  3389.       %    | Common actions applicable to all classes                    |    %
  3390.       %    | Grouped-object actions applicable to whole views or classes |    %
  3391.       %    | Macro action definitions useable in all of the above        |    %
  3392.       %    +-------------------------------------------------------------+    %
  3393.       %                |  Xport        Export over network             |      %
  3394.       %        5 ....  |  4print       Formatted print, 2/side, both   |      %
  3395.       %  out   6 .... *|  Look-fmt     Wordix format for preview       |      %
  3396.       %                                                                       %
  3397.       %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  3398.  
  3399.       From the menu, select the action list you want to  edit  (the  fourth
  3400.       alternative,  "Macros",  will  be discussed a little later). You will
  3401.       find yourself editing a list of actions, each of which has a name and
  3402.       a description. You may alter these, or  insert  or  delete  them,  as
  3403.       described  in the "Editing Dictionaries" section of the earlier chap-
  3404.       ter, "Interacting with InContext". The display below is an example.
  3405.  
  3406.  
  3407.  
  3408.  
  3409.  
  3410.  
  3411.  
  3412.  
  3413.  
  3414.  
  3415.  
  3416.  
  3417.  
  3418.  
  3419.  
  3420.    InContxt.DOC                      -54-                       August 1991
  3421.  
  3422.  
  3423.  
  3424.  
  3425.    InContext User Guide                                 CLASSES AND ACTIONS
  3426.  
  3427.  
  3428.               %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  3429.               %                                                     %
  3430.               %                             ==Action====            %
  3431.               %  ==Editing=Actions=for='txt'=Class=========@Help==  %
  3432.               %  |                                               |  %
  3433.               %  | Brief Name     Your Description               |  %
  3434.               %  |  Descript     ASCII=Text=File===============  |  %
  3435.               %  |  Edit==#=     Edit=using=preferred=editor===  |  %
  3436.               %  |  Print===     Print,=standard=size==========  |  %
  3437.               %  |  Word-cnt     Count=words,=characters,=etc.=  |  %
  3438.               %  |                                               |  %
  3439.               %                                                     %
  3440.               %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  3441.  
  3442.       If you want to edit the procedure associated with an  action,  simply
  3443.       place the cursor on the desired action and press either the F2 (Edit)
  3444.       key  or the left mouse button. A display like that below will appear,
  3445.       allowing you to use the internal editor on the procedure.
  3446.  
  3447.           %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  3448.           %                                                              %
  3449.           %   ----------------------------------------------==Action===  %
  3450.           %  |                   ==Editing=Actions=for='txt'=Class=====  %
  3451.           %  ==Editing=Definition=of="Word-cnt"================@Search/  %
  3452.           %  |wc %f    #                                                 %
  3453.           %  |!pause                                                     %
  3454.           %  |                                                           %
  3455.           %  |                                                           %
  3456.           %                                                              %
  3457.           %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  3458.  
  3459.       Such procedures may contain any mix of ordinary MS-DOS  commands  and
  3460.       special  commands  of  the  InContext  Procedure  Language,  which is
  3461.       described in the next section. This particular procedure contains one
  3462.       of each.
  3463.  
  3464.       The first line is an MS-DOS command which invokes  a  program  called
  3465.       "wc".  (You may or may not have such a program; it is not part of DOS
  3466.       or InContext.) In this command, the characters "%f" appear where  you
  3467.       might  expect  to  see  a  filename.  InContext  will  substitute the
  3468.       selected object's  filename.  Such  "variable  replacement"  will  be
  3469.       discussed a little later.
  3470.  
  3471.       The  second  line  is an internal InContext "pause" command, to allow
  3472.       you to see the output of the "wc" program  before  returning  to  the
  3473.       InContext display.
  3474.  
  3475.  
  3476.  
  3477.  
  3478.  
  3479.    InContxt.DOC                      -55-                       August 1991
  3480.  
  3481.  
  3482.  
  3483.  
  3484.    InContext User Guide                                 CLASSES AND ACTIONS
  3485.  
  3486.  
  3487.    How Procedures Work
  3488.    -------------------
  3489.  
  3490.       If  you  can  write  MS-DOS batch procedures, you should have no dif-
  3491.       ficulty learning to use the InContext Procedure Language.  If  "batch
  3492.       files"  are beyond your present capability, though, then you may want
  3493.       to learn about them before you undertake to write your own  InContext
  3494.       procedures.  See  your  MS-DOS manual for information about this. The
  3495.       procedures you write here will usually be based on  MS-DOS  commands,
  3496.       with  some notable assistance from a few special commands made avail-
  3497.       able by InContext. Programming,  particularly  of  the  "batch  file"
  3498.       sort,  is  really  not  very  difficult,  and there's no reason to be
  3499.       intimidated by it. It should not be done carelessly, though, since it
  3500.       is possible to inadvertently modify, or even delete,  files.  Current
  3501.       backups of your files can be a real lifesaver, whether you're testing
  3502.       out  new  procedures  or  not,  but they're especially wise in such a
  3503.       case.
  3504.  
  3505.       A PROCEDURE is a list of commands that are executed when:
  3506.  
  3507.          o  an action is selected
  3508.  
  3509.          o  an item from the Do list is selected (the Do  Command  is  dis-
  3510.             cussed later in this chapter).
  3511.  
  3512.  
  3513.       The  commands  in  a procedure consist of some mixture of MS-DOS com-
  3514.       mands and internal InContext commands. You are assumed to be familiar
  3515.       with the common MS-DOS commands,  such  as  "echo",  "copy",  "move",
  3516.       etc., and we will also refer to the invocation of other programs as a
  3517.       use  of "MS-DOS commands", since they are invoked by asking MS-DOS to
  3518.       execute them. Obviously,  though,  the  InContext  commands  are  un-
  3519.       familiar, and they will be discussed in detail below.
  3520.  
  3521.  
  3522.       Execution of Procedures
  3523.       -----------------------
  3524.       When  a procedure is executed, the commands are executed in sequence,
  3525.       starting at the top (except as this may be altered by MS-DOS  "goto",
  3526.       and  InContext  "menu"  and  "forEachObject"  commands). The internal
  3527.       commands are simply executed by InContext when it reaches  them.  MS-
  3528.       DOS  commands  have  to  be  passed  to the MS-DOS command processor,
  3529.       though. (Normally, this is the program "command.com", but some  users
  3530.       substitute an alternative command processor.)
  3531.  
  3532.       If several consecutive lines of a procedure are MS-DOS commands, they
  3533.       are  passed to the command processor by writing them out as an MS-DOS
  3534.       batch file and arranging for the command interpreter to  execute  the
  3535.       batch  file.  If an MS-DOS command occurs alone in a procedure, or is
  3536.  
  3537.  
  3538.    InContxt.DOC                      -56-                       August 1991
  3539.  
  3540.  
  3541.  
  3542.  
  3543.    InContext User Guide                                 CLASSES AND ACTIONS
  3544.  
  3545.  
  3546.       surrounded by internal commands, it is passed directly to the command
  3547.       processor without being written to a batch file. Since there is  some
  3548.       overhead  associated with invoking the command processor, you can see
  3549.       that unnecessary alternation between  MS-DOS  commands  and  internal
  3550.       commands would impede performance.
  3551.  
  3552.       If  an  error  occurs during execution of a procedure, InContext will
  3553.       display the error message and halt execution of the procedure. Please
  3554.       note that InContext has no direct way of knowing  about  errors  that
  3555.       may have occurred during the execution of other programs (command.com
  3556.       does  not  return  the ERRORLEVEL value that is available for testing
  3557.       within batch files). The only errors that can be directly detected by
  3558.       InContext are errors in the execution of its internal  commands.  For
  3559.       this  reason,  if  for no other, you should probably use the internal
  3560.       versions of such commands as rename, delete, etc., whenever possible.
  3561.  
  3562.       Whenever the MS-DOS command processor is invoked to execute an MS-DOS
  3563.       command or another program, part of the InContext  program  and  data
  3564.       are  "swapped out". That is, a portion of InContext is written out to
  3565.       EMS memory, RAMdisk, or disk, in order to make room for the (possibly
  3566.       large) program that is being invoked. You can control how this  swap-
  3567.       ping  occurs,  and how much memory is freed. This is done globally by
  3568.       setting the appropriate configuration options (discussed in  a  later
  3569.       chapter).
  3570.  
  3571.  
  3572.       A Small Example
  3573.       ---------------
  3574.       The  following example is a little contrived, for which we apologize.
  3575.       Most actions require only a one-line procedure, and we  need  an  ex-
  3576.       ample  here  that will illustrate a bit more than those actions would
  3577.       allow.
  3578.  
  3579.       Let's  suppose  that  you  have  a  spelling-checker  program  called
  3580.       "spellit",  which scans an ASCII text file, noticing words that don't
  3581.       match any entry in the program's dictionary. Assume that the  program
  3582.       prompts  the  user  for  corrections in such a case, and rewrites the
  3583.       file, with spelling corrections, on exit. Let's suppose that it  also
  3584.       updates  its own dictionary if you give it new words during an execu-
  3585.       tion, and that the dictionary is kept in the directory  "C:\MYSTUFF".
  3586.       Finally,  let's  assume  that spellit requires no more than 256K (256
  3587.       kilobytes of main memory) to run. We would like to add a  "spell-chk"
  3588.       action for objects of the "txt" class.
  3589.  
  3590.       An acceptable procedure for such an action might be simply
  3591.  
  3592.            spellit %f
  3593.  
  3594.       where  the  characters  "%f"  will be replaced by the filename of the
  3595.  
  3596.  
  3597.    InContxt.DOC                      -57-                       August 1991
  3598.  
  3599.  
  3600.  
  3601.  
  3602.    InContext User Guide                                 CLASSES AND ACTIONS
  3603.  
  3604.  
  3605.       selected text object. A more complete procedure, though, might be
  3606.  
  3607.            !memory 256
  3608.            spellit %f
  3609.            !relogDir c:\mystuff
  3610.  
  3611.       This procedure illustrates the use of both internal commands and  MS-
  3612.       DOS  commands.  The  commands  preceded by exclamation points (!) are
  3613.       internal  InContext  commands.  The  first  command  ("!memory  256")
  3614.       directs  InContext  to swap out only enough of itself to provide 256K
  3615.       of memory for  the  following  MS-DOS  process.  The  second  command
  3616.       ("spellit  %f")  executes  spellit  on the selected object. The third
  3617.       ("!relogDir c:\mystuff") causes InContext to update its record of the
  3618.       contents of the directory C:\MYSTUFF, so that  it  will  reflect  the
  3619.       modified size, date, etc. of the dictionary file.
  3620.  
  3621.  
  3622.       Variable Substitution
  3623.       ---------------------
  3624.       During the execution of procedures, InContext looks for a set of one-
  3625.       character  "variable names", each of which is preceded by the percent
  3626.       (%) character. Whenever one of these variable names  is  encountered,
  3627.       it  is  replaced  by  an  appropriate value before the command is ex-
  3628.       ecuted.  For  example,  if   the   currently   selected   object   is
  3629.       "mystuff.txt", then the command
  3630.  
  3631.            myeditor %f
  3632.  
  3633.       becomes
  3634.  
  3635.            myeditor mystuff.txt
  3636.  
  3637.       before it is passed to MS-DOS for execution.
  3638.  
  3639.       The  most  commonly  used  InContext variables are shown in the table
  3640.       below.
  3641.  
  3642.  
  3643.  
  3644.  
  3645.  
  3646.  
  3647.  
  3648.  
  3649.  
  3650.  
  3651.  
  3652.  
  3653.  
  3654.  
  3655.  
  3656.    InContxt.DOC                      -58-                       August 1991
  3657.  
  3658.  
  3659.  
  3660.  
  3661.    InContext User Guide                                 CLASSES AND ACTIONS
  3662.  
  3663.  
  3664.        %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  3665.        %                                                                    %
  3666.        %  %c  The class of the currently selected object                    %
  3667.        %                                                                    %
  3668.        %  %d  The full pathname of the currently selected directory         %
  3669.        %                                                                    %
  3670.        %  %D  The current date                                              %
  3671.        %                                                                    %
  3672.        %  %f  The filename of the currently selected object                 %
  3673.        %                                                                    %
  3674.        %  %h  The full pathname of the currently selected object            %
  3675.        %                                                                    %
  3676.        %  %k  The name of the currently selected task                       %
  3677.        %                                                                    %
  3678.        %  %K  The description of the currently selected task                %
  3679.        %                                                                    %
  3680.        %  %l  The number of lines currently on the video display            %
  3681.        %                                                                    %
  3682.        %  %m  For use only in the group action list, the multiple filespec  %
  3683.        %      that describes the currently displayed objects.  This might   %
  3684.        %      be replaced by "*.*", if the "ALL" view is selected, or by    %
  3685.        %      "*.txt", if only the text class is selected, or by            %
  3686.        %      "*.doc *.txt" if a view containing both "doc" and "txt"       %
  3687.        %      classes is selected.                                          %
  3688.        %                                                                    %
  3689.        %  %p  The filename prefix of the currently selected object          %
  3690.        %                                                                    %
  3691.        %  %T  The current time                                              %
  3692.        %                                                                    %
  3693.        %  %u  The name of the current user of InContext                     %
  3694.        %                                                                    %
  3695.        %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  3696.  
  3697.       They are all useable  anywhere.  The  following  variables  are  only
  3698.       meaningful inside a "forEachObject" loop (discussed later).
  3699.  
  3700.                 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  3701.                 %                                                 %
  3702.                 %  %C  The class of the current object            %
  3703.                 %  %F  The filename of the current object         %
  3704.                 %  %H  The full pathname of the current object    %
  3705.                 %  %P  The filename prefix of the current object  %
  3706.                 %                                                 %
  3707.                 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  3708.  
  3709.  
  3710.       In  addition  to the variables in these tables, the numeric variables
  3711.       "%1", "%2", and so on through "%9", are variables to  which  you  can
  3712.       assign values (via the "query" command) for later use.
  3713.  
  3714.  
  3715.    InContxt.DOC                      -59-                       August 1991
  3716.  
  3717.  
  3718.  
  3719.  
  3720.    InContext User Guide                                 CLASSES AND ACTIONS
  3721.  
  3722.  
  3723.       If  you need to include an actual percent sign in a command, just use
  3724.       the string "%%".
  3725.  
  3726.  
  3727.       Comments in InContext Procedures
  3728.       --------------------------------
  3729.       Comments may be inserted in procedures by preceding the comment  text
  3730.       with  a  semi-colon. You should be aware that the Common action list,
  3731.       the Group action list, and the Macro definitions are in memory at all
  3732.       times. Heavy commenting of those files should therefore be avoided.
  3733.  
  3734.  
  3735.       InContext Internal Commands
  3736.       ---------------------------
  3737.       The internal commands are listed below, along with descriptions  and,
  3738.       where  appropriate,  examples.  For any commands that take arguments,
  3739.       the syntax of the command is  also  shown.  In  syntax  descriptions,
  3740.       everything shown in ordinary text must appear exactly as shown, while
  3741.       everything  shown  in  <angular brackets> is a placeholder, for which
  3742.       you would substitute  appropriate  values.  Optional  information  is
  3743.       surrounded by square brackets. Thus, the description:
  3744.  
  3745.            delete [ <filename> ] [ noquery ]
  3746.  
  3747.       indicates  that  the delete command takes two optional arguments, one
  3748.       of which is  a  filename  and  the  other  of  which  is  the  string
  3749.       "noquery".
  3750.  
  3751.       The internal commands you would ordinarily use are:
  3752.  
  3753.          changeDir
  3754.  
  3755.             This  command  changes  the  current  working  directory  to  a
  3756.             specified directory.  The  chosen  directory  will  remain  the
  3757.             current  working  directory until the next "changeDir" command,
  3758.             or the next MS-DOS "cd" command, or the end of  the  procedure.
  3759.             This  command  is  equivalent to the MS-DOS "cd" command except
  3760.             that it can cause a change in  drive,  as  well  as  directory.
  3761.             Syntax is:
  3762.  
  3763.                  changeDir <pathOfNewDir>
  3764.  
  3765.             Thus,  to change to the "temp" directory on the "D:" drive, the
  3766.             command would be
  3767.  
  3768.                  changeDir d:\temp
  3769.  
  3770.             Use of this command is preferable to the MS-DOS  "cd"  command,
  3771.             because  InContext  will be aware of the working directory, and
  3772.  
  3773.  
  3774.    InContxt.DOC                      -60-                       August 1991
  3775.  
  3776.  
  3777.  
  3778.  
  3779.    InContext User Guide                                 CLASSES AND ACTIONS
  3780.  
  3781.  
  3782.             will therefore automatically relog the directory.
  3783.  
  3784.          choice
  3785.  
  3786.             See "menu".
  3787.  
  3788.          copy
  3789.  
  3790.             This command exhibits two different kinds of behavior,  depend-
  3791.             ing on the arguments used. Syntax is:
  3792.  
  3793.                  copy [ <source> <destination> [ noquery ] ]
  3794.  
  3795.             If no arguments are used, as in
  3796.  
  3797.                  copy
  3798.  
  3799.             the  command  prompts the user for the name (or possibly direc-
  3800.             tory or full path) to  which  the  selected  object  should  be
  3801.             copied. If the user responds with such a name or path, the copy
  3802.             operation is executed.
  3803.  
  3804.             Alternatively,  if  source and destination pathnames are given,
  3805.             the indicated source file is copied to the  indicated  destina-
  3806.             tion.  The  source must indicate an existing file, and may be a
  3807.             simple filename, if the file is in the current directory, or  a
  3808.             complete  pathname. The destination can be a simple filename or
  3809.             a full pathname. If the destination is found to be a directory,
  3810.             a new copy of the source will  be  placed  in  the  destination
  3811.             directory,  using the source filename. Otherwise, a new copy of
  3812.             the source file will  be  created  and  given  the  destination
  3813.             filename.
  3814.  
  3815.             If there is already a file using the destination name, the user
  3816.             will  be asked for permission before copying occurs, unless the
  3817.             "noquery" argument is present. Thus, the command
  3818.  
  3819.                  copy myfile.txt a:\ noquery
  3820.  
  3821.             would copy "myfile.txt" to the root directory of the A:  drive,
  3822.             and  would not ask permission before over-writing a file of the
  3823.             same name there.
  3824.  
  3825.          createObject
  3826.  
  3827.             This command creates a new object, based on the filename prefix
  3828.             and class specified in the command. Syntax is:
  3829.  
  3830.                  createObject <prefix> <class>
  3831.  
  3832.  
  3833.    InContxt.DOC                      -61-                       August 1991
  3834.  
  3835.  
  3836.  
  3837.  
  3838.    InContext User Guide                                 CLASSES AND ACTIONS
  3839.  
  3840.  
  3841.             Thus, the command "createObject mynext doc"  would  create  the
  3842.             object "mynext.doc" in the current directory.
  3843.  
  3844.          delete
  3845.  
  3846.             This  command  deletes  the  specified  object,  or  if none is
  3847.             specified, deletes the currently selected object. The  user  is
  3848.             asked  for  permission  before  deletion,  unless  "noquery" is
  3849.             specified. Syntax is:
  3850.  
  3851.                  delete [ <filename> ] [ noquery ]
  3852.  
  3853.             Thus, to delete the  file  "mytemp.txt",  without  asking  user
  3854.             permission, the command would be
  3855.  
  3856.                  delete mytemp.txt noquery
  3857.  
  3858.             If  the file does not exist, no deletion occurs and no error is
  3859.             noted.
  3860.  
  3861.          edit
  3862.  
  3863.             This command invokes the internal editor on the specified file,
  3864.             if any, or on the currently selected object,  if  no  file  was
  3865.             specified. Syntax is:
  3866.  
  3867.                  edit [ <filename> ]
  3868.  
  3869.          editDictionary
  3870.  
  3871.             Some  of  the  files  use  by  InContext are "dictionary" files
  3872.             (class "dic"). The internal dictionary editor is made available
  3873.             for use on such objects by this command.  You  might  use  this
  3874.             command  to  create  dictionary  files  for use with the "info"
  3875.             command (see below). Syntax is:
  3876.  
  3877.                  editDictionary [ <filename> ]
  3878.  
  3879.          endFor
  3880.  
  3881.             See "forEachObject".
  3882.  
  3883.          endMenu
  3884.  
  3885.             See "menu".
  3886.  
  3887.          forEachObject
  3888.  
  3889.             This command allows you to execute a  portion  of  a  procedure
  3890.  
  3891.  
  3892.    InContxt.DOC                      -62-                       August 1991
  3893.  
  3894.  
  3895.  
  3896.  
  3897.    InContext User Guide                                 CLASSES AND ACTIONS
  3898.  
  3899.  
  3900.             once  for  each object currently being displayed. You might use
  3901.             it if you have a program that only operates on one  file  at  a
  3902.             time,  but you want to be able to invoke it on a whole class or
  3903.             view. If the program in question  is  "theprog",  the  commands
  3904.             required would be:
  3905.  
  3906.                  !forEachObject
  3907.                  theprog %F
  3908.                  !endFor
  3909.  
  3910.             Notice  that the "endFor" command is also required, and that it
  3911.             indicates the end of the loop that will be  executed  once  for
  3912.             each  object.  Notice  also that the special variable names %F,
  3913.             %H, %C, and %P must be used instead of %f, %h, %c, and %p.
  3914.  
  3915.          info
  3916.  
  3917.             This command allows you to display a scrollable window contain-
  3918.             ing text you have written. It is useful for providing  explana-
  3919.             tions of a procedure during its execution. Syntax is:
  3920.  
  3921.                  info <dictionaryPath> <term> [ <title> ]
  3922.  
  3923.             The  information  displayed  will  be  the  definition  of  the
  3924.             specified term, taken from the dictionary ("dic" object)  whose
  3925.             full MS-DOS pathname is specified. If you provide a title, that
  3926.             title  will  be  displayed,  as  well.  For example, to display
  3927.             information at the beginning of a Do procedure  that  downloads
  3928.             stock prices, you might use the command:
  3929.  
  3930.                  info c:\incontxt\myinfo.dic getprice "Updating Prices"
  3931.  
  3932.          keyStuff
  3933.  
  3934.             This  command  allows  you to place information in the keyboard
  3935.             buffer before calling an application. Suppose, for example, you
  3936.             have a word processor that  doesn't  allow  you  to  specify  a
  3937.             filename on the command line, but expects you to select a "file
  3938.             load"  command  after  you're  in  the program. You might use a
  3939.             command sequence like:
  3940.  
  3941.                  !keyStuff "FL%f\EN"
  3942.                  myWordProc
  3943.  
  3944.             to cause it to automatically  load  the  selected  object  upon
  3945.             entry. The !keyStuff command loads the keyboard buffer with the
  3946.             command characters 'F' and 'L', followed by the filename of the
  3947.             currently  selected  object,  followed  by the ENTER key. Those
  3948.             characters will then be read by the program "myWordProc" as  if
  3949.  
  3950.  
  3951.    InContxt.DOC                      -63-                       August 1991
  3952.  
  3953.  
  3954.  
  3955.  
  3956.    InContext User Guide                                 CLASSES AND ACTIONS
  3957.  
  3958.  
  3959.             they  had  been  typed  from the keyboard after the program was
  3960.             invoked. This will not work with ALL programs, but  works  with
  3961.             most.  This feature greatly increases your ability to "encapsu-
  3962.             late" applications with InContext.
  3963.  
  3964.             There are a number of special characters  that  can  be  loaded
  3965.             into  the  keyboard  buffer using this technique. An example is
  3966.             the ENTER (or "carriage return") key designated by the "\EN" in
  3967.             the example above. These special characters are  all  indicated
  3968.             by  a  backslash  and  a two-character code that represents the
  3969.             special character. The codes are as follows:
  3970.  
  3971.             For function keys, the code  consists  of  the  character  "F",
  3972.             followed  by a numeric digit from 1 through 0. These correspond
  3973.             to function keys F1 through F10. "\FA" also means F10, and "FB"
  3974.             and "FC" correspond to F11 and F12 on  the  extended  keyboard.
  3975.             (The  hexadecimal  symbols  for 10, 11, and 12 are A, B, and C,
  3976.             respectively.)
  3977.  
  3978.             If shifted function keys  are  desired,  the  codes  are  "\S1"
  3979.             through  "\S0"  and  "\SA"  through "\SC". Control-function-key
  3980.             combinations are obtained  by  "\C1"  through  "C0"  and  "\CA"
  3981.             through  "\CC". Alt-function-key combinations are "\A1" through
  3982.             "\A0" and "\AA" through "\AC".
  3983.  
  3984.             Ordinary control  characters,  such  as  control-A,  use  codes
  3985.             beginning  with  '^'.  Thus, "\^A" through "\^Z" mean control-A
  3986.             through control-Z, and control-key versions  of  the  following
  3987.             additional characters can be created this way:
  3988.                  [ \ ] ^ _ @
  3989.  
  3990.             Ordinary alt-key characters, such as alt-A, use codes beginning
  3991.             with  '@'.  Thus, "\@A" through "\@Z" mean alt-A through alt-Z,
  3992.             and alt-key versions of the following additional characters can
  3993.             be created this way:
  3994.                  numeric digits, -, =
  3995.  
  3996.             All remaining special characters are  shown  in  the  following
  3997.             list:
  3998.                  LA left arrow
  3999.                  LC control left arrow
  4000.                  RA right arrow
  4001.                  RC control right arrow
  4002.                  UA up arrow
  4003.                  UC control up arrow
  4004.                  DA down arrow
  4005.                  DC control down arrow
  4006.                  HM home
  4007.                  HC control home
  4008.  
  4009.  
  4010.    InContxt.DOC                      -64-                       August 1991
  4011.  
  4012.  
  4013.  
  4014.  
  4015.    InContext User Guide                                 CLASSES AND ACTIONS
  4016.  
  4017.  
  4018.                  ED end
  4019.                  EC control end
  4020.                  PU page up
  4021.                  QU control page up
  4022.                  PD page down
  4023.                  QD control page down
  4024.                  IN insert
  4025.                  DE delete
  4026.                  G+ grey +
  4027.                  G- grey -
  4028.                  G* grey *
  4029.                  PS PrtSc
  4030.                  PC control PrtSc
  4031.                  TA tab
  4032.                  BT back tab
  4033.                  ES escape
  4034.                  BS back space
  4035.                  EN ENTER (carriage return)
  4036.                  LF line feed
  4037.                  N0 numeric key-pad 0
  4038.                  N1 numeric key-pad 1
  4039.                  N2 numeric key-pad 2
  4040.                  N3 numeric key-pad 3
  4041.                  N4 numeric key-pad 4
  4042.                  N5 numeric key-pad 5
  4043.                  N6 numeric key-pad 6
  4044.                  N7 numeric key-pad 7
  4045.                  N8 numeric key-pad 8
  4046.                  N9 numeric key-pad 9
  4047.                  N. numeric key-pad .
  4048.                  N+ numeric key-pad +
  4049.                  N- numeric key-pad -
  4050.                  N* numeric key-pad *
  4051.  
  4052.             To  stuff  the  backslash  character  into  the buffer, use two
  4053.             backslashes in succession, as "\\".
  4054.  
  4055.             In the current version of InContext, the string that is  loaded
  4056.             by  "!keyStuff"  is  restricted  to 15 characters. This will be
  4057.             extended in a later version.
  4058.  
  4059.             Incidentally, whenever InContext executes another  program,  it
  4060.             clears the keyboard buffer on return. This prevents unprocessed
  4061.             keystrokes  from  doing unexpected things upon return to InCon-
  4062.             text. However, if the  "!keyStuff"  command  is  used  and  not
  4063.             followed  by  the  execution of another program, the keystrokes
  4064.             are left in the buffer and read by  InContext  as  if  you  had
  4065.             typed  them  in  yourself. This allows you to define procedures
  4066.             that exert user-level control over InContext, if you like. This
  4067.  
  4068.  
  4069.    InContxt.DOC                      -65-                       August 1991
  4070.  
  4071.  
  4072.  
  4073.  
  4074.    InContext User Guide                                 CLASSES AND ACTIONS
  4075.  
  4076.  
  4077.             is recommended for knowledgable users only.
  4078.  
  4079.             An especially useful application of the latter is in an  InCon-
  4080.             text  startup ("incStart") macro. By placing in that macro, for
  4081.             example,
  4082.                  !keyStuff "df" it  is  possible  to  cause  the  automatic
  4083.             execution  of  a  Do  procedure  (e.g., "fontset") at InContext
  4084.             initialization time.
  4085.  
  4086.          memory
  4087.  
  4088.             This command allows you to specify the amount of memory  needed
  4089.             for  the  next  following block of MS-DOS commands. You can op-
  4090.             timize InContext performance by requesting  only  what  is  ac-
  4091.             tually needed, if you choose to do so. Syntax is:
  4092.  
  4093.                  memory <kilobytes>
  4094.  
  4095.             Thus, to invoke a simple word-count program that needs only 64K
  4096.             of memory, you might use the commands
  4097.  
  4098.                  !memory 64
  4099.                  wc %f
  4100.                  !pause
  4101.  
  4102.             If  you're  using  EMS or RAMdisk for swapping, or running on a
  4103.             sufficiently fast machine, you probably don't need to  use  any
  4104.             "memory" commands.
  4105.  
  4106.          menu
  4107.  
  4108.             This  command allows you to construct menus within a procedure.
  4109.             Syntax is:
  4110.  
  4111.                  menu [ <title> ]
  4112.  
  4113.             This command is used with a series of "choice" commands and  an
  4114.             "endMenu" command, to specify a whole menu and the consequences
  4115.             of each possible choice. A simple example is:
  4116.  
  4117.                  !menu "Do which simple MS-DOS operation?"
  4118.                     !choice "Check disk"
  4119.                        chkdsk
  4120.                     !choice "Show directory contents"
  4121.                        dir
  4122.                  !endMenu
  4123.  
  4124.             Menus  may  not  be  nested  (but notice that it probably isn't
  4125.             necessary, given that the menus occur in the context of actions
  4126.  
  4127.  
  4128.    InContxt.DOC                      -66-                       August 1991
  4129.  
  4130.  
  4131.  
  4132.  
  4133.    InContext User Guide                                 CLASSES AND ACTIONS
  4134.  
  4135.  
  4136.             that are themselves menu-selected).
  4137.  
  4138.          noRelog
  4139.  
  4140.             This command can be used to slightly speed  up  the  return  of
  4141.             InContext  after  a  procedure,  if you know that the procedure
  4142.             cannot alter any files. By  letting  InContext  know  that  the
  4143.             files  cannot  be altered, you eliminate the need for relogging
  4144.             the files in the current directory upon return from the  proce-
  4145.             dure.  This  command  can  occur  anywhere  in the procedure. A
  4146.             common example would be the use of a viewer:
  4147.  
  4148.                  !noRelog
  4149.                  pcxview %f
  4150.  
  4151.          pause
  4152.  
  4153.             This  command  causes  InContext  to  pause,  and  wait  for  a
  4154.             keystroke  or  mouse  button depression. It is used immediately
  4155.             after a DOS command or external program, in order to allow  the
  4156.             user  to look at the results of that operation before returning
  4157.             to the InContext display.
  4158.  
  4159.          query
  4160.  
  4161.  
  4162.             This command allows you to ask the user  for  information,  and
  4163.             then  to  use  the  information  in  subsequent commands in the
  4164.             procedure. Syntax is:
  4165.  
  4166.                  query <variable> <question> <length>
  4167.  
  4168.             InContext provides nine variables whose values can  be  set  by
  4169.             query  commands.  The first argument is the number of the vari-
  4170.             able that will contain the user's answer. The  second  argument
  4171.             is  the  text of a question that will be asked. The third argu-
  4172.             ment is the length, in characters, of the answer field. At  the
  4173.             risk  of  waxing a little fanciful, suppose you have a program,
  4174.             "coatarms" that displays a coat of arms for the user's  family,
  4175.             given his family name. You might write:
  4176.  
  4177.                  !query 3 "Enter your last name" 20
  4178.                  coatarms %3
  4179.  
  4180.             If  the  user  answers "Smith", this would result in the actual
  4181.             execution of the command
  4182.  
  4183.                  coatarms Smith
  4184.  
  4185.  
  4186.  
  4187.    InContxt.DOC                      -67-                       August 1991
  4188.  
  4189.  
  4190.  
  4191.  
  4192.    InContext User Guide                                 CLASSES AND ACTIONS
  4193.  
  4194.  
  4195.          relogDir
  4196.  
  4197.             Unless you use the "noRelog" command, InContext  always  checks
  4198.             all  the  files  in  the  current  directory at the end of each
  4199.             procedure, to make sure that its object list is up-do-date.  It
  4200.             does NOT automatically relog other directories, however. If you
  4201.             execute  a program that is known to modify the contents of some
  4202.             other directory, you can cause InContext to update the log  for
  4203.             that  directory  as  well,  by  use  of the "relogDir" command.
  4204.             Syntax is:
  4205.  
  4206.                  relogDir <pathOfDirectory>
  4207.  
  4208.             For example, if your editor automatically backs up all files to
  4209.             the directory "C:\BACKUP", and you want the object list  to  be
  4210.             current  whenever  you  go to that directory, you might use the
  4211.             sequence
  4212.  
  4213.                  myeditor %f
  4214.                  !relogDir c:\backup
  4215.  
  4216.             to invoke your editor.
  4217.  
  4218.          resetMouse
  4219.  
  4220.             Some programs which you may invoke from within  InContext  dis-
  4221.             able  the  mouse and fail to restore it upon exit. If you don't
  4222.             see a cursor upon return from such a program, or if  the  mouse
  4223.             no longer works, you should add the "resetMouse" command to the
  4224.             procedure.  On  some machines, the mouse reset operation adds a
  4225.             second or two to the time  required  to  return  to  InContext;
  4226.             that's  why  it  isn't  done unless you explicitly include this
  4227.             command.
  4228.  
  4229.          rename
  4230.  
  4231.             This command exhibits two different kinds of behavior,  depend-
  4232.             ing on the arguments used. Syntax is:
  4233.  
  4234.                  rename [ <source> <destination> [ noquery ] ]
  4235.  
  4236.             If no arguments are used, as in
  4237.  
  4238.                  rename
  4239.  
  4240.             the  command prompts the user for the new name for the selected
  4241.             object. This may be a simple filename or a full pathname  (this
  4242.             command  can  be  used  to  move the selected object to another
  4243.             directory, or even another drive). If the  user  responds  with
  4244.  
  4245.  
  4246.    InContxt.DOC                      -68-                       August 1991
  4247.  
  4248.  
  4249.  
  4250.  
  4251.    InContext User Guide                                 CLASSES AND ACTIONS
  4252.  
  4253.  
  4254.             such  a  name,  the  object  is  moved  and/or  renamed, as ap-
  4255.             propriate.
  4256.  
  4257.             Alternatively, if source and destination pathnames  are  given,
  4258.             the  indicated  source  file is moved to the indicated destina-
  4259.             tion. The source must indicate an existing file, and may  be  a
  4260.             simple  filename, if the file is in the current directory, or a
  4261.             complete pathname. The destination can be a simple filename  or
  4262.             a full pathname. If the destination is found to be a directory,
  4263.             the  source object will be placed in the destination directory,
  4264.             using the source filename. Otherwise, the source object will be
  4265.             given the destination filename,  and  moved  to  the  indicated
  4266.             drive  or  directory  if  that  information was included in the
  4267.             destination.
  4268.  
  4269.             If there is already a file using the destination name, the user
  4270.             will be asked for permission before renaming occurs, unless the
  4271.             "noquery" argument is present. Thus, the command
  4272.  
  4273.                  rename myfile.txt a:\ noquery
  4274.  
  4275.             would move "myfile.txt" to the root directory of the A:  drive,
  4276.             and would not ask permission before over- writing a file of the
  4277.             same name there.
  4278.  
  4279.          unload
  4280.  
  4281.             A  few  memory-hungry  applications may require more memory for
  4282.             their execution than InContext can make available  by  swapping
  4283.             itself  to disk or EMS. A good example is Ventura Publisher, if
  4284.             run on a machine that doesn't have  EMS  memory.  The  "unload"
  4285.             command can be used to cause InContext to write out the desired
  4286.             MS-DOS  commands  to  a  batch  file, and then quit altogether,
  4287.             freeing ALL of the memory used by InContext.  Since  the  batch
  4288.             file is still there, it can be executed from DOS.
  4289.  
  4290.             When  you  installed  InContext,  you  installed  a batch file,
  4291.             "inc.bat",  which  is  used  to  execute  InContext.  "inc.bat"
  4292.             checks,  after each invocation of InContext, to see if a proce-
  4293.             dure batch file has been left behind for execution. If so, that
  4294.             batch file is executed and InContext is reloaded.  If  you  use
  4295.             "unload", read that batch file for instructions about making it
  4296.             correspond  to  your  installation  and  configuration choices.
  4297.             Otherwise, InContext may not be automatically re-invoked  after
  4298.             the other application is executed.
  4299.  
  4300.             You  will  only  want  to "unload" InContext in those few cases
  4301.             that really need it, for performance reasons. Note  that,  when
  4302.             "unload" is used, only the block of MS-DOS commands immediately
  4303.  
  4304.  
  4305.    InContxt.DOC                      -69-                       August 1991
  4306.  
  4307.  
  4308.  
  4309.  
  4310.    InContext User Guide                                 CLASSES AND ACTIONS
  4311.  
  4312.  
  4313.             following  "unload" can be executed. If you have any additional
  4314.             internal commands after that block, they will not be executed.
  4315.  
  4316.          verify
  4317.  
  4318.             This command asks the user if it's  OK  to  proceed,  and  ter-
  4319.             minates the procedure if the user fails to answer "Yes". Syntax
  4320.             is:
  4321.  
  4322.                  verify [ <question> ]
  4323.  
  4324.             If  a question is specified, it is asked instead of the default
  4325.             question. Thus, a possible form of this command is
  4326.  
  4327.                  verify "Is it OK to archive this file?"
  4328.  
  4329.          view
  4330.  
  4331.             This command invokes the internal viewer on the specified file,
  4332.             if any, or on the currently selected object,  if  no  file  was
  4333.             specified. Syntax is:
  4334.  
  4335.                  view [ <filename> ]
  4336.  
  4337.          viewArchive
  4338.  
  4339.             This  command  invokes  the  internal  archive  viewer  on  the
  4340.             specified file, if any, or on the currently selected object, if
  4341.             no file was specified. Syntax is:
  4342.  
  4343.                  viewArchive <type> [ <filename> ]
  4344.  
  4345.             The "type" argument can be any of the following, and  specifies
  4346.             both  the archive file format and the archiver program(s) to be
  4347.             used:
  4348.  
  4349.                  ACA    ARC format, using ARCA/ARCE.
  4350.  
  4351.                  ARC    ARC format, using SEA's ARC.
  4352.  
  4353.                  ARJ    ARJ format, using ARJ.
  4354.  
  4355.                  LZH    LZH format, using LHA.
  4356.  
  4357.                  PAK    PAK format, using PAK.
  4358.  
  4359.                  PKA    ARC format, using PKARC/PKXARC
  4360.  
  4361.                  ZIP    ZIP format, using PKZIP/PKUNZIP.
  4362.  
  4363.  
  4364.    InContxt.DOC                      -70-                       August 1991
  4365.  
  4366.  
  4367.  
  4368.  
  4369.    InContext User Guide                                 CLASSES AND ACTIONS
  4370.  
  4371.  
  4372.             For example, the following command  would  invoke  the  archive
  4373.             viewer  on  an  ARC-type  document archive called DOC-ARCV.XYZ,
  4374.             using the PKARC/PKXARC programs for any archive operations:
  4375.  
  4376.                  viewArchive PKA doc-arcv.xyz
  4377.  
  4378.          viewLZH
  4379.  
  4380.             This command invokes the internal LHA viewer on  the  specified
  4381.             file,  if  any, or on the currently selected object, if no file
  4382.             was specified. Syntax is:
  4383.  
  4384.                  viewLZH [ <filename> ]
  4385.  
  4386.             This command is now obsolete, and  will  not  be  supported  in
  4387.             future versions. Use "viewArchive LZH", instead.
  4388.  
  4389.       The  following  commands  are also available, but you will ordinarily
  4390.       have no need to use them in your own procedures:
  4391.  
  4392.          deleteDir
  4393.  
  4394.             If the current directory is empty and is not the root directory
  4395.             of its drive, this command deletes the directory and  moves  to
  4396.             the next directory above it.
  4397.  
  4398.          deleteGroup
  4399.  
  4400.             This  command checks with the user first, and then deletes each
  4401.             currently displayed object. Depending on the user's choice, the
  4402.             objects can be deleted or saved individually, or deleted  as  a
  4403.             group in a single operation, or the command can be aborted.
  4404.  
  4405.          put
  4406.  
  4407.             This  command  drops either a copy or the original of an object
  4408.             being "carried" into the current directory. The user  is  asked
  4409.             which  is  preferred.  This command is really only intended for
  4410.             internal InContext use.
  4411.  
  4412.          take
  4413.  
  4414.             This command causes InContext to "pick up" the selected object,
  4415.             for possible later copying or moving  via  the  "put"  command,
  4416.             above.
  4417.  
  4418.  
  4419.  
  4420.  
  4421.  
  4422.  
  4423.    InContxt.DOC                      -71-                       August 1991
  4424.  
  4425.  
  4426.  
  4427.  
  4428.    InContext User Guide                                 CLASSES AND ACTIONS
  4429.  
  4430.  
  4431.       Some Example Procedures
  4432.       -----------------------
  4433.       A  few  examples  of action definitions are shown in the table below.
  4434.       Although these are all possible action definitions,  they  are  shown
  4435.       here  to illustrate features that procedures may have, rather than as
  4436.       finished action definitions.
  4437.  
  4438.            %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  4439.            %                                                           %
  4440.            %  delete   !delete                                         %
  4441.            %                                                           %
  4442.            %  edit     myedit %f                                       %
  4443.            %                                                           %
  4444.            %  archive  !query 1 "Enter name of LHA archive" 12         %
  4445.            %           !verify "OK to archive '%f' to '%1'?"           %
  4446.            %           lha u %1 %f                                     %
  4447.            %           !pause                                          %
  4448.            %           !delete                                         %
  4449.            %                                                           %
  4450.            %  edit     ren %f auto123.wk1                              %
  4451.            %           123                                             %
  4452.            %           ren auto123.wk1 %f                              %
  4453.            %                                                           %
  4454.            %  edit     !keyStuff "//fr%f\EN"                           %
  4455.            %           123                                             %
  4456.            %                                                           %
  4457.            %  run      !menu "Are there any command-line parameters?"  %
  4458.            %              !choice "Yes"                                %
  4459.            %                 !query 1 "Enter parameters for '%f'" 72   %
  4460.            %                 %f %1                                     %
  4461.            %                 !pause                                    %
  4462.            %              !choice "No"                                 %
  4463.            %                 %f                                        %
  4464.            %                 !pause                                    %
  4465.            %           !endMenu                                        %
  4466.            %           !resetMouse                                     %
  4467.            %                                                           %
  4468.            %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  4469.  
  4470.       The first example is a procedure for performing simple deletion of an
  4471.       object. Since the InContext internal command, "!delete" asks the user
  4472.       for permission before deleting, this is safer than the  ordinary  DOS
  4473.       "del"  command.  It is also very efficient, since it doesn't actually
  4474.       invoke the DOS command interpreter.
  4475.  
  4476.       The second example defines an edit operation for a  text  object.  It
  4477.       assumes  an  editor called "myedit", capable of accepting on the com-
  4478.       mand line the name of the file to be edited.
  4479.  
  4480.  
  4481.  
  4482.    InContxt.DOC                      -72-                       August 1991
  4483.  
  4484.  
  4485.  
  4486.  
  4487.    InContext User Guide                                 CLASSES AND ACTIONS
  4488.  
  4489.  
  4490.       The third example illustrates the use of InContext  special  commands
  4491.       at  both  the beginning and end of a procedure. This procedure copies
  4492.       or moves an object into a specified LHA archive. The initial "!query"
  4493.       command obtains an archive name of up to 12 characters in length, and
  4494.       stores that name in variable 1. The "!verify" command checks with the
  4495.       user to be sure the proposed action is correct. Then "lha" is invoked
  4496.       with a pause to allow the user to see whether or not the program  ran
  4497.       successfully. Finally, the user is given an opportunity to delete the
  4498.       original file, if desired.
  4499.  
  4500.       The  fourth  example  also defines an edit operation, but this one is
  4501.       for a Lotus 1-2-3 2.0  spreadsheet  ("wk1"  class).  The  example  is
  4502.       somewhat  simplified,  but it will help illustrate some properties of
  4503.       procedures. Many programs fail to  provide  adequate  facilities  for
  4504.       command-line control, and Lotus 1-2-3 is an example. There is usually
  4505.       a  way to accomplish the desired control, however, and this procedure
  4506.       illustrates one way of causing Lotus 1-2-3  to  load  and  display  a
  4507.       specified file. In this approach, we're taking advantage of a feature
  4508.       of  Lotus  1-2-3;  it  automatically  loads  and  displays  the  file
  4509.       "auto123.wk1" on invocation, if that file is present. By renaming the
  4510.       file we're interested in to that name, editing it with  Lotus  1-2-3,
  4511.       and  renaming  it  back,  we're  able  to  keep  spreadsheets  by our
  4512.       preferred names and in our preferred directories, even  though  Lotus
  4513.       1-2-3 was not designed to support that.
  4514.  
  4515.       The fifth example illustrates another way of "encapsulating" Lotus 1-
  4516.       2-3.  This time, the spreadsheet is not renamed, but is automatically
  4517.       loaded upon initialization of Lotus 1-2-3 by  stuffing  the  keyboard
  4518.       buffer with the necessary Lotus 1-2-3 commands before invoking 1-2-3.
  4519.       These  two approaches do not exhaust the possibilities. Each approach
  4520.       to program "encapsulation" has  advantages  and  disadvantages.  This
  4521.       whole  topic  is discussed in more detail in the chapter on "Examples
  4522.       and Application Notes".
  4523.  
  4524.       The last example illustrates the "menu" command.  The  example  is  a
  4525.       procedure  for executing a selected program, with or without command-
  4526.       line arguments. The "!menu" command, together with the two  "!choice"
  4527.       commands  and  "!endMenu",  presents  the  user with a choice between
  4528.       passing arguments to the program and not doing  so.  The  program  is
  4529.       then   invoked   appropriately,  followed  by  a  pause.  Finally,  a
  4530.       "!resetMouse" command restores the mouse cursor in case  the  program
  4531.       that was executed fails to do so.
  4532.  
  4533.       For  many more examples, and a fuller discussion, see the later chap-
  4534.       ter, "Examples and Application Notes
  4535.  
  4536.  
  4537.  
  4538.  
  4539.  
  4540.  
  4541.    InContxt.DOC                      -73-                       August 1991
  4542.  
  4543.  
  4544.  
  4545.  
  4546.    InContext User Guide                                 CLASSES AND ACTIONS
  4547.  
  4548.  
  4549.       Macros
  4550.       ------
  4551.       Macros are really a very simple idea, but they can  greatly  increase
  4552.       the  power  of even a simple programming language. Basically, a macro
  4553.       consists of a name and a definition. Whenever the name appears  in  a
  4554.       procedure,  the entire definition of the macro is substituted for the
  4555.       name. This allows a rather complicated set of commands to be  written
  4556.       once, stored in one place, and used as needed, perhaps in many proce-
  4557.       dures.  Since  the set of commands exists only in one place, changing
  4558.       it will cause all of the using procedures to change in the same way.
  4559.  
  4560.       For example, it is likely that you  will  have  many  object  classes
  4561.       whose  underlying file is an ordinary text file, editable by an ordi-
  4562.       nary text editor. By defining the macro "editText",  and  putting  in
  4563.       the  definition  whatever it takes to set up and run your text editor
  4564.       the way you like, you can allow each of  the  classes  to  behave  in
  4565.       exactly  the  same way, even if you later change editors or choose to
  4566.       invoke your editor differently.
  4567.  
  4568.       To do this, you would cause the action  list  of  each  of  the  text
  4569.       classes to have an "Edit" action whose definition includes an invoca-
  4570.       tion of the macro:
  4571.  
  4572.            #editText
  4573.  
  4574.       To  define the macro, you would select the Action display, and select
  4575.       the "Edit" command from that display's  Command  Bar.  When  given  a
  4576.       choice of action lists to edit, choose "Macro Action Definitions".
  4577.  
  4578.       By  placing  an  entry here called "editText", we create a macro that
  4579.       will be executed any time the "edit" action is selected  for  one  of
  4580.       the text classes. An example of a possible definition for this macro,
  4581.       using the BRIEF editor with a mouse menu driver, is shown below.
  4582.  
  4583.            menu c:\tools\brief.mnu
  4584.            b -u150 -L%l %f c:\notes
  4585.            menu off
  4586.  
  4587.       The  actual  definition of this macro will depend on what program you
  4588.       use for editing ordinary text files. If you have no text editor,  you
  4589.       may  want  to  use  the  InContext  internal editor. To do so, simply
  4590.       replace the entire macro definition with the single line "!edit %f".
  4591.  
  4592.       At present, macros may not be nested. That is, a macro may not itself
  4593.       invoke another macro.
  4594.  
  4595.  
  4596.  
  4597.  
  4598.  
  4599.  
  4600.    InContxt.DOC                      -74-                       August 1991
  4601.  
  4602.  
  4603.  
  4604.  
  4605.    InContext User Guide                                 CLASSES AND ACTIONS
  4606.  
  4607.  
  4608.       Special Macros Used to Control InContext
  4609.       ----------------------------------------
  4610.       A few macros have special significance to InContext. An awareness  of
  4611.       how  they  are  used  will increase the flexibility and power at your
  4612.       disposal. The following special macros are used to control particular
  4613.       behaviors of InContext:
  4614.  
  4615.          incEdit   The InContext internal editor is intended  for  handling
  4616.                    only  fairly  small files, but it is relatively fast for
  4617.                    small  files.  If  you  wish  to  substitute  your   own
  4618.                    preferred  editor  altogether,  you  should  change  the
  4619.                    "editText" macro. If you would like to  substitute  your
  4620.                    own  editor only for files over a certain size, however,
  4621.                    you can define  this  macro  to  invoke  your  preferred
  4622.                    editor.  This macro will be used only for editing a file
  4623.                    that exceeds either available memory or the  upper  size
  4624.                    limit  defined in your configuration options. In example
  4625.                    would be
  4626.                         myedit %f
  4627.  
  4628.          incPrint  This macro can be used to specify a print procedure  for
  4629.                    use  when  you select the @Print command. In the absence
  4630.                    of such a macro, printing is done by writing directly to
  4631.                    the "prn:" standard printer output. An example of such a
  4632.                    procedure is the following, which substitutes the 4PRINT
  4633.                    laser printer program:
  4634.                         downld c:\fonts\lp085r16.usl 2
  4635.                         4print %f -q -tab3 -h"%D page $cn//%D page $cn"
  4636.  
  4637.          incStart  If this macro is present, it is executed  during  InCon-
  4638.                    text  initialization.  This  allows  you  to  cause  the
  4639.                    program to start out in the state you prefer.  A  common
  4640.                    example  would  define  the  following procedure for in-
  4641.                    cStart:
  4642.                         !keyStuff "\@T"
  4643.                    If this is done, InContext will automatically start  out
  4644.                    with today's tasks in the Work-in-Progress list. This is
  4645.                    equivalent  to  your  typing Alt-T, for the "Today" com-
  4646.                    mand. Without this startup macro, InContext  will  start
  4647.                    out with the same tasks active as at the end of the last
  4648.                    session.
  4649.  
  4650.          incView   This  macro  can  be  used  to  over-ride the use of the
  4651.                    InContext internal viewer for certain purposes, such  as
  4652.                    viewing  files  in  an LHA archive. For example, to sub-
  4653.                    stitute Vern  Buerg's  LIST  viewer  for  the  InContext
  4654.                    internal  viewer,  define  an  "incView"  macro with the
  4655.                    procedure
  4656.                         list %f
  4657.  
  4658.  
  4659.    InContxt.DOC                      -75-                       August 1991
  4660.  
  4661.  
  4662.  
  4663.  
  4664.    InContext User Guide                                 CLASSES AND ACTIONS
  4665.  
  4666.  
  4667.       Other Macros You May Want to Change
  4668.       -----------------------------------
  4669.       These macros do not affect InContext in any special way, but they are
  4670.       used by some of the class definitions distributed with InContext:
  4671.  
  4672.          editText  In the action lists  distributed  with  InContext,  this
  4673.                    macro  is  used  for all single-file editing operations.
  4674.                    You can substitute your own  editor  for  the  InContext
  4675.                    internal editor by redefining this macro.
  4676.  
  4677.          printTxt  In  the  action  lists  distributed with InContext, this
  4678.                    macro is used for all  ASCII-file  printing  operations.
  4679.                    You  can substitute your own print program by redefining
  4680.                    this macro.
  4681.  
  4682.          viewText  In the action lists  distributed  with  InContext,  this
  4683.                    macro  is  used  for all single-file viewing operations.
  4684.                    You can substitute your own  viewer  for  the  InContext
  4685.                    internal  viewer by redefining this macro. This will not
  4686.                    affect calendar viewing (which  must  use  the  internal
  4687.                    viewer),  or viewing of files inside an LHA archive (see
  4688.                    "incView", above).
  4689.  
  4690.  
  4691.  
  4692.    The Do Display
  4693.    --------------
  4694.  
  4695.       The Do Command allows you  to  define  procedures  which  are  always
  4696.       available and are independent of objects and classes. You may do this
  4697.       because   of  the  convenience  of  invoking  these  procedures  from
  4698.       anywhere, or because they simply are  not  related  to  any  specific
  4699.       objects.  Examples  might  include  loading  a preferred screen font,
  4700.       viewing your phone list, or logging into a Bulletin Board System  for
  4701.       an  on-line  session.  As distributed, InContext has no Do procedures
  4702.       defined.
  4703.  
  4704.       The list of defined "Do" procedures can be shown on the Main Display,
  4705.       and is always available through use of the Do Command,  as  shown  in
  4706.       the display below. This display (and therefore the Do procedures) can
  4707.       be edited in a manner similar to the editing of the Action Display.
  4708.  
  4709.  
  4710.  
  4711.  
  4712.  
  4713.  
  4714.  
  4715.  
  4716.  
  4717.  
  4718.    InContxt.DOC                      -76-                       August 1991
  4719.  
  4720.  
  4721.  
  4722.  
  4723.    InContext User Guide                                 CLASSES AND ACTIONS
  4724.  
  4725.  
  4726.               %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  4727.               %                                                     %
  4728.               %                                           ==Do====  %
  4729.               %  ===================================@Edit==@Help==  %
  4730.               %  |                                               |  %
  4731.               %  | Brief Name     Your Description               |  %
  4732.               %  |  Assets       Edit family financial info      |  %
  4733.               %  |  Beta         Edit beta test stuff            |  %
  4734.               %  |  Coreldrw     Execute Corel Draw              |  %
  4735.               %  |  Document #   View documentation store        |  %
  4736.               %  |  Fontset      Set display font                |  %
  4737.               %  |  Getprice     Download current stock prices   |  %
  4738.               %  |  Import       Receive files over network      |  %
  4739.               %  |  Incomtax     Work on family tax returns      |  %
  4740.               %  |  Logenter     Log item at end of task note    |  %
  4741.               %  |  Lookfor      Search here for specified text  |  %
  4742.               %  |  Nortutil     Run Norton utilities            |  %
  4743.               %  |  Phone        Edit telephone lists            |  %
  4744.               %  |  Relay        Remote comm using Relay Gold    |  %
  4745.               %  |  Startday     Start new day                   |  %
  4746.               %  |  Tapcis       Interact with CompuServe        |  %
  4747.               %  |  Unfrag       Test disk, defrag if necessary  |  %
  4748.               %  +- Document ----------------------------- 4/21 -+  %
  4749.               %                                                     %
  4750.               %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  4751.  
  4752.  
  4753.  
  4754.  
  4755.  
  4756.  
  4757.  
  4758.  
  4759.  
  4760.  
  4761.  
  4762.  
  4763.  
  4764.  
  4765.  
  4766.  
  4767.  
  4768.  
  4769.  
  4770.  
  4771.  
  4772.  
  4773.  
  4774.  
  4775.  
  4776.  
  4777.    InContxt.DOC                      -77-                       August 1991
  4778.  
  4779.  
  4780.  
  4781.  
  4782.    InContext User Guide                   TIME, PLANS, AND WORK-IN-PROGRESS
  4783.  
  4784.  
  4785.        
  4786.                      +-----------------------------------+
  4787.                      | TIME, PLANS, AND WORK-IN-PROGRESS |
  4788.                      +-----------------------------------+
  4789.  
  4790.  
  4791.  
  4792.    The Time Command and Display
  4793.    ----------------------------
  4794.  
  4795.       The Time Display gives you a time-related view of your activities. By
  4796.       defining  TASKS,  including  appointments,  to-do  items,  etc.,  you
  4797.       provide the information from which InContext  can  construct  such  a
  4798.       view.  Since  the  calendar is an integral part of your work environ-
  4799.       ment, InContext provides  a  fairly  sophisticated  set  of  calendar
  4800.       functions.
  4801.  
  4802.       The display below is a portion of the Time display, which is obtained
  4803.       by selecting the Time command from the Main Display.
  4804.  
  4805.        %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  4806.        %                                                                   %
  4807.        %        ==Time====                                                 %
  4808.        %  =Go:=@Back=@Forward=+Day=-Day=@Today=====@Day=@Week=@Month=====  %
  4809.        %  |                                                                %
  4810.        %  |         <    Jan 1991  #  >             Wednesday, Jan 16, 19  %
  4811.        %  |         S  M  T  W  T  F  S        12a....   6 ....  12p....   %
  4812.        %  |               1  2  3  4  5         1 ....   7 ....   1 ....   %
  4813.        %  |         6  7  8  9 10 11 12         2 ....   8 aaaa   2 ....   %
  4814.        %  |        13 14 15 16 17 18 19         3 ....   9 aaaa   3 ....   %
  4815.        %  |        20 21 22 23 24 25 26         4 ....  10 aaaa   4 ....   %
  4816.        %  |        27 28 29 30 31               5 ....  11 ....   5 ....   %
  4817.        %  |                                                                %
  4818.        %  |   Task      Description                    Type   Date-Date    %
  4819.        %  |  ambulanc  Ambulance Staffing              Appt   1/16         %
  4820.        %  | *help======Finish=InContext=Help=Text======ToDo===1/16=======  %
  4821.        %  |  plumbing==Fix=Bathroom=Plumbing=Problems==ToDo===1/16=======  %
  4822.        %  | *install   Install SideKicker 2.04         ToDo   1/16         %
  4823.        %  | *runforms  Review Run Forms                ToDo   1/16         %
  4824.        %  |  tax       Work on family 1990 tax data    ToDo   1/16         %
  4825.        %  |                                                                %
  4826.        %                                                                   %
  4827.        %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  4828.  
  4829.       The  upper-left  portion of the Time display shows a one-month calen-
  4830.       dar. Each time you select the Time Display, this calendar  will  ini-
  4831.       tially show the current month, with the current day highlighted.
  4832.  
  4833.       This  calendar is live, in the sense that you can move around in time
  4834.  
  4835.  
  4836.    InContxt.DOC                      -78-                       August 1991
  4837.  
  4838.  
  4839.  
  4840.  
  4841.    InContext User Guide                   TIME, PLANS, AND WORK-IN-PROGRESS
  4842.  
  4843.  
  4844.       by selecting things from it with the mouse  or  keyboard  cursor.  To
  4845.       focus  on  a  particular date, for example, you need only select that
  4846.       date with the mouse or by placing the cursor and pressing  ENTER.  To
  4847.       move  forward or backward a month at a time, you may place the cursor
  4848.       on the top line of the calendar, as shown in the display  above,  and
  4849.       press  ENTER  or the left mouse button. If the cursor is on the right
  4850.       half of the line (near the '>' character, as shown  in  the  figure),
  4851.       you  will  move  to  the  next later month; if on the left half (near
  4852.       '<'), to the next earlier month. Similar features are available  from
  4853.       the  keyboard  using the "@Back", "@Forward", "+Day", and "-Day" com-
  4854.       mands.
  4855.  
  4856.       The upper-right portion of the Time Display shows a one-day schedule.
  4857.       This area of the display does not respond to mouse selections (except
  4858.       during the editing of task definitions, as discussed  elsewhere).  It
  4859.       shows you the schedule for the indicated day. Each scheduled appoint-
  4860.       ment  is  indicated  on  this  schedule by the first character of its
  4861.       brief  name.  Thus,  "Ambulance  Staffing",  with  its  brief   name,
  4862.       "ambulanc",  is shown occupying the time from 8:00 A.M. to 11:00 A.M.
  4863.       If there are any conflicting or  overlapping  appointments,  question
  4864.       marks (?) will appear instead.
  4865.  
  4866.       The  bottom  of  the  display  contains  a list of the tasks that are
  4867.       relevant to the selected day. This area of the display is  scrollable
  4868.       if  there  are  too  many tasks for the available space. Each line of
  4869.       this display area shows the basic information about  a  single  task,
  4870.       including  its  brief name, description, type, and date/time informa-
  4871.       tion.
  4872.  
  4873.  
  4874.    What Is a Task?
  4875.    ---------------
  4876.  
  4877.       The word "task" is used rather broadly here,  to  mean  any  activity
  4878.       associated with a particular time or time span. Thus, it includes to-
  4879.       do items, but also appointments, holidays, etc.
  4880.  
  4881.       InContext  provides  the  ability to easily define tasks, and to have
  4882.       them show up appropriately in your calendar,  repeating  periodically
  4883.       if  you  desire.  You  can easily keep a set of notes associated with
  4884.       each task. You can associate a task with a particular  work  context,
  4885.       so  that  selecting  the  task places you in the correct context, and
  4886.       even invokes the correct action, if you like. Completed tasks can  be
  4887.       logged  automatically,  so  that you have a record of your activities
  4888.       for later reference.
  4889.  
  4890.  
  4891.  
  4892.  
  4893.  
  4894.  
  4895.    InContxt.DOC                      -79-                       August 1991
  4896.  
  4897.  
  4898.  
  4899.  
  4900.    InContext User Guide                   TIME, PLANS, AND WORK-IN-PROGRESS
  4901.  
  4902.  
  4903.       Types of Tasks
  4904.       --------------
  4905.       InContext recognizes three types of tasks:
  4906.  
  4907.          Appt  An appointment occurs on a single day, and has start and end
  4908.                times associated with it.
  4909.  
  4910.          Span  A "span" is an interval of one or more whole days  that  are
  4911.                to  be  noticed, but are not necessarily associated with any
  4912.                specific activity  on  your  part.  Examples  are  holidays,
  4913.                vacation  periods,  business trips, spouse's birthdays, etc.
  4914.                Spans do not involve any particular time of day.
  4915.  
  4916.          ToDo  A "todo" item has only  a  starting  date.  It  is  inactive
  4917.                before  that  date.  Once  that  date arrives, the todo item
  4918.                remains active, "following" you until you complete or other-
  4919.                wise dispose of it.
  4920.  
  4921.  
  4922.       When you define a task, it  shows  up  on  your  calendar  and  daily
  4923.       schedule  in different ways, depending on the type that you assign to
  4924.       it.
  4925.  
  4926.  
  4927.       Repeating Tasks
  4928.       ---------------
  4929.       Many activities repeat at regular intervals. It's handy to be able to
  4930.       define a task only once in such cases, and have it automatically show
  4931.       up at each appropriate time. InContext allows  you  to  define  tasks
  4932.       that repeat:
  4933.  
  4934.          o  on specified days of the week. For example, a task could repeat
  4935.             on Monday, Wednesday, and Friday of every week.
  4936.  
  4937.          o  every so many days, from 1 (daily) to a maximum of 31 days
  4938.  
  4939.          o  every so many months, from 1 to a maximum of 7 months
  4940.  
  4941.          o  annually
  4942.  
  4943.          o  on  the  first,  second, third, fourth, or last occurrence of a
  4944.             specified day(s) of the week. For example, a task could  repeat
  4945.             on  the  third Wednesday of each month, or the last Tuesday and
  4946.             last Thursday of every month.
  4947.  
  4948.  
  4949.  
  4950.  
  4951.  
  4952.  
  4953.  
  4954.    InContxt.DOC                      -80-                       August 1991
  4955.  
  4956.  
  4957.  
  4958.  
  4959.    InContext User Guide                   TIME, PLANS, AND WORK-IN-PROGRESS
  4960.  
  4961.  
  4962.       Task Notes
  4963.       ----------
  4964.       A task notes file can be associated with any task.  This  is  a  very
  4965.       convenient  way of keeping track of what there is to do in connection
  4966.       with the task, and you will find many other uses for these notes. The
  4967.       notes files are objects of class "not" in  the  InContext  directory,
  4968.       and  they  can  be  operated  on  with tools other than the InContext
  4969.       internal editor, but that is the primary way of working on them.
  4970.  
  4971.  
  4972.    Adding and Editing Tasks
  4973.    ------------------------
  4974.  
  4975.       New tasks can be added from the Time Display or the Plans Display, by
  4976.       selecting @Add from the Command Bar. They can also be added by typing
  4977.       Alt-A from the Main Display. Any of these will result  in  a  display
  4978.       similar to the following.
  4979.  
  4980.              %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  4981.              %                                                       %
  4982.              %              ==Plans====                              %
  4983.              %  ==Edit=Individual=Task=Definition==================  %
  4984.              %  |                                                    %
  4985.              %  |         <    Jan 1991     >             Tuesday,   %
  4986.              %  |         S  M  T  W  T  F  S        12a....   6 ..  %
  4987.              %  |               1  2  3  4  5         1 ....   7 ..  %
  4988.              %  |         6  7  8  9 10 11 12         2 ....   8 ..  %
  4989.              %  |        13 14 15 16 17 18 19         3 ....   9 ..  %
  4990.              %  |        20 21 22 23 24 25 26         4 ....  10 ..  %
  4991.              %  |        27 28 29 30 31               5 ....  11 ..  %
  4992.              %  |                                                    %
  4993.              %  |                                                    %
  4994.              %  |                                                    %
  4995.              %  |  Name: #=======   Description: ==================  %
  4996.              %  |                                                    %
  4997.              %  |  Type: ToDo   Dates: 1/15/91=                      %
  4998.              %  |                                                    %
  4999.              %  |* Note: ====0   Priority: Medium   Repeats: None    %
  5000.              %  |                                                    %
  5001.              %  |  Context: Unset    Show: Always                    %
  5002.              %  |  Action: ========                                  %
  5003.              %                                                       %
  5004.              %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  5005.  
  5006.       You should type in both a brief name and a longer text description of
  5007.       the task. (If you exit this "edit task" operation with the brief name
  5008.       blank,  the  "Add" operation will be cancelled.) For purposes of this
  5009.       example, let's assume the task being added  is  "Lunch  with  Alice".
  5010.       Then the brief name might just be "lunch", or perhaps "alice". "Lunch
  5011.  
  5012.  
  5013.    InContxt.DOC                      -81-                       August 1991
  5014.  
  5015.  
  5016.  
  5017.  
  5018.    InContext User Guide                   TIME, PLANS, AND WORK-IN-PROGRESS
  5019.  
  5020.  
  5021.       with Alice" will be an appropriate description.
  5022.  
  5023.       Next,  you  select the task type. The default type is "ToDo". You may
  5024.       change the type by placing the cursor on the type and pressing  ENTER
  5025.       or  the  left mouse button. The tab key will quickly bring the cursor
  5026.       to the right place, if you don't happen to be using a mouse. Pressing
  5027.       ENTER or the left mouse button will cycle you through  the  available
  5028.       task  types.  For  "Lunch  with  Alice", the appropriate task type is
  5029.       "Appt" (appointment).
  5030.  
  5031.       The next thing to do is to fill in the date or dates associated  with
  5032.       the  task.  There are a couple of ways you might indicate the desired
  5033.       date. If you're using a mouse, the easiest way is  to  simply  select
  5034.       the  date  from the calendar shown above. If not, then you should use
  5035.       the keyboard to put  the  correct  date(s)  into  the  editable  date
  5036.       field(s).  Since  "Lunch  with  Alice" is an appointment, it involves
  5037.       only one date.
  5038.  
  5039.           %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  5040.           %                                                              %
  5041.           %        ==Time====                                            %
  5042.           %  ==========================================================  %
  5043.           %  |                                                           %
  5044.           %  |         <    Jan 1991     >             Monday, Jan 21,   %
  5045.           %  |         S  M  T  W  T  F  S        12a....   6 ....  12p  %
  5046.           %  |               1  2  3  4  5         1 ....   7 ....   1   %
  5047.           %  |         6  7  8  9 10 11 12         2 ....   8 ....   2   %
  5048.           %  |        13 14 15 16 17 18 19         3 ....   9 ....   3   %
  5049.           %  |        20 21 22 23 24 25 26         4 ....  10 ....   4   %
  5050.           %  |        27 28 29 30 31               5 ....  11 ..#.   5   %
  5051.           %  |                                                           %
  5052.           %  ==Edit=Individual=Task=Definition=========================  %
  5053.           %  |                                                           %
  5054.           %  |  Name: lunch===   Description: Lunch=with=Alice=========  %
  5055.           %  |                                                           %
  5056.           %  |  Type: Appt   Dates: 1/21/91=               Times: 12:00  %
  5057.           %  |                                                           %
  5058.           %  |* Note: ====0                      Repeats: None           %
  5059.           %  |                                                           %
  5060.           %  |  Context: Unset    Show: Always                           %
  5061.           %  |  Action: ========                                         %
  5062.           %                                                              %
  5063.           %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  5064.  
  5065.       The next thing to do is to specify the time(s),  if  any,  associated
  5066.       with  the  task.  Once  again, there's a shortcut available if you're
  5067.       using a mouse. You  can  simply  select  the  times  from  the  daily
  5068.       schedule  displayed  above.  For  example,  the cursor in the display
  5069.       above is shown on the dot that represents  11:30  A.M.  By  selecting
  5070.  
  5071.  
  5072.    InContxt.DOC                      -82-                       August 1991
  5073.  
  5074.  
  5075.  
  5076.  
  5077.    InContext User Guide                   TIME, PLANS, AND WORK-IN-PROGRESS
  5078.  
  5079.  
  5080.       this  time,  and  then selecting the time 1:00 P.M., we can input the
  5081.       two times required for our appointment. If you aren't using a  mouse,
  5082.       or if you require times other than in quarter-hour increments, you'll
  5083.       need to provide the times by text editing the time fields.
  5084.  
  5085.  
  5086.       Setting Up a Repeating Task
  5087.       ---------------------------
  5088.       For  a simple appointment, this is all you have to do. However, let's
  5089.       suppose that this is intended to be a weekly lunch appointment  every
  5090.       Monday  through  the  end  of March. Then you would need to place the
  5091.       cursor on the word "None" in the "Repeats" area, and press  ENTER  or
  5092.       the  left  mouse  button.  This  would  change  the  display to allow
  5093.       repeating-task information to be added.
  5094.  
  5095.              %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  5096.              %                                                        %
  5097.              %  tion: Lunch=with=Alice==============                  %
  5098.              %                                                        %
  5099.              %  /91=               Times: 12:00= to 12:00=            %
  5100.              %                                                        %
  5101.              %           Repeats: Every# SMTWTFS   first occurrence:  %
  5102.              %                           __ days      1/21/91=        %
  5103.              %  Always                  _ months   repeats until:     %
  5104.              %                              year      1/21/1==        %
  5105.              %                                                        %
  5106.              %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  5107.  
  5108.       To cause this appointment to occur "Every Monday",  we  simply  place
  5109.       the cursor on the "M" (for Monday), and press ENTER or the left mouse
  5110.       button.
  5111.  
  5112.       Leaving  the  cursor on "Every", and continuing to press ENTER or the
  5113.       left mouse button will cause InContext to cycle through the available
  5114.       repetition options. Alternatively,  with  "Every"  showing,  you  can
  5115.       select "__ days", or "_ months", or "year" to invoke those options.
  5116.  
  5117.       Most  repetitive  tasks  don't  continue  repeating forever, so it is
  5118.       possible to place outer limits on the  repetition.  To  cause  "Lunch
  5119.       with  Alice"  to  repeat  weekly through the end of March, we need to
  5120.       place the date "3/31/91" in the "Repeats until" field.
  5121.  
  5122.       This can be done by text-editing the date, or it can be done with the
  5123.       mouse in the following way. Select the field in  which  you  want  to
  5124.       enter  the  date  (place the cursor there and press the left button).
  5125.       Then select a date from the calendar  displayed  above.  In  general,
  5126.       this  approach  works  with all dates and times, and with the special
  5127.       fields "__ days", and "_ months".
  5128.  
  5129.  
  5130.  
  5131.    InContxt.DOC                      -83-                       August 1991
  5132.  
  5133.  
  5134.  
  5135.  
  5136.    InContext User Guide                   TIME, PLANS, AND WORK-IN-PROGRESS
  5137.  
  5138.  
  5139.       Incidentally, the "first occurrence" date  is  the  base  from  which
  5140.       repetition  calculations  are  performed. Thus, if you want a task to
  5141.       repeat on the first of every month, make sure the "first  occurrence"
  5142.       date  is  the  first  day of a month not later than the desired first
  5143.       occurrence. As another example, a biweekly task  first  occurring  on
  5144.       January  4, 1991 would have 1/4/91 as the "first occurrence" date and
  5145.       "Every 14 days" as the repetition factor. The "Start Date" would  not
  5146.       necessarily  remain  1/4/91,  however.  In fact, the start date would
  5147.       become 1/18/91 after the first occurrence of the task was completed.
  5148.  
  5149.  
  5150.       Setting Task Priorities
  5151.       -----------------------
  5152.       Tasks of the "ToDo" type can have priorities associated with them, if
  5153.       you choose. By marking them "Urgent", you can cause them to  show  up
  5154.       near  the  top of your things-to-do-today list, and to appear in bold
  5155.       colors, in order to grab your attention. In the first display of this
  5156.       chapter, for example, the "help"  and  "plumbing"  tasks  are  marked
  5157.       "urgent",  and are therefore bold and displayed immediately after the
  5158.       appointments. The full set of available priorities is : Low,  Medium,
  5159.       High, and Urgent.
  5160.  
  5161.  
  5162.       The Note Number
  5163.       ---------------
  5164.       The  first time you attempt to edit the notes associated with a task,
  5165.       a note number will be assigned. Ordinarily, you will have no need  to
  5166.       modify  such note numbers. Occasionally, though, you may wish to have
  5167.       multiple tasks which share a single notes file. For that reason,  the
  5168.       "Edit  Task"  display  allows  you to modify the note number, just by
  5169.       text-editing the "Note:" field.
  5170.  
  5171.       The zero currently showing as a note number  in  the  examples  above
  5172.       indicates  that no note number has yet been assigned to this task. If
  5173.       you want this task to share the notes file  with  another  task,  you
  5174.       should find out the note number assigned to that task (by editing its
  5175.       task  definition)  and  then  place that number in this task's "Note"
  5176.       field.
  5177.  
  5178.  
  5179.       Setting a Task Context
  5180.       ----------------------
  5181.       Many of the tasks you perform will not involve the computer  at  all,
  5182.       except as calendar entries. "Lunch with Alice" is an example. But for
  5183.       those  tasks  whose  execution involves the computer, you may find it
  5184.       helpful associate the task with a particular work context.  The  work
  5185.       context  includes the drive, directory, view, class, and object focus
  5186.       shown in the context area. When you want a task to be associated with
  5187.       a particular work context, you should get into  that  context  before
  5188.  
  5189.  
  5190.    InContxt.DOC                      -84-                       August 1991
  5191.  
  5192.  
  5193.  
  5194.  
  5195.    InContext User Guide                   TIME, PLANS, AND WORK-IN-PROGRESS
  5196.  
  5197.  
  5198.       adding  or  editing the task definition. Then select the word "Unset"
  5199.       in the "Context" field (refer to the figures above). This will change
  5200.       the display to indicated that the context for the task is "set".
  5201.  
  5202.              %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  5203.              %                                                       %
  5204.              %  ==Edit=Individual=Task=Definition==================  %
  5205.              %  |                                                    %
  5206.              %  |  Name: runforms   Description: Review=Run=Forms==  %
  5207.              %  |                                                    %
  5208.              %  |  Type: ToDo   Dates: 1/16/91=                      %
  5209.              %  |                                                    %
  5210.              %  |* Note: ===77   Priority: High     Repeats: None    %
  5211.              %  |                                                    %
  5212.              %  |  Context: Set  #   Show: Always                    %
  5213.              %  |  Action: edit====                                  %
  5214.              %                                                       %
  5215.              %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  5216.  
  5217.       The word "Set" here means that the task has been associated with some
  5218.       work context. Any time you select the task to do work, you will  find
  5219.       yourself  in  that  context.  If you choose, you may even specify the
  5220.       action to be taken then, by typing an action name into  the  "Action"
  5221.       field.  The  display  above  shows the word "edit" entered here. With
  5222.       this context definition, selection of the "runforms" task will result
  5223.       in immediate editing of the object "runforms.txt".
  5224.  
  5225.       The "Show" field allows you to control the appearance of a  repeating
  5226.       task  on  future calendars and logs of completed activities. Suppose,
  5227.       for example, you have a "workout" task  (a  ToDo  task  that  repeats
  5228.       daily)  intended  to remind you to get some exercise each day. If you
  5229.       leave the "Show" field set to "Always", this item will appear on each
  5230.       day of your calendar, when you print it. Changing the "Show" field to
  5231.       "No future" would prevent that. Both of these  settings  would  allow
  5232.       completed  workouts  to  appear  in your log of completed activities,
  5233.       while the values "No past" or "Current only" would not.
  5234.  
  5235.  
  5236.    Selecting a Task
  5237.    ----------------
  5238.  
  5239.       Once a task has been defined, you may select it from  the  Time  Dis-
  5240.       play,  the  Plans  Display, the Work-in-Progress Display, or the Main
  5241.       Display. Having selected it, you will asked to indicate what you want
  5242.       to do relative to the task, as shown below. These choices  should  be
  5243.       fairly self-explanatory.
  5244.  
  5245.  
  5246.  
  5247.  
  5248.  
  5249.    InContxt.DOC                      -85-                       August 1991
  5250.  
  5251.  
  5252.  
  5253.  
  5254.    InContext User Guide                   TIME, PLANS, AND WORK-IN-PROGRESS
  5255.  
  5256.  
  5257.       %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  5258.       %                                                                       %
  5259.       %  ==Disposition=of=task:=lunch=--=Lunch=with=Alice===================  %
  5260.       %  | Work #     -- Enter task context and execute specified action, if  %
  5261.       %  | Go         -- Go into task context, but do not execute action      %
  5262.       %  |                                                                    %
  5263.       %  | Completed  -- All work on task is done; log and delete or repeat   %
  5264.       %  | TodayDone  -- Some work done on task today; log and show tomorrow  %
  5265.       %  | Postpone   -- Postpone task to tomorrow                            %
  5266.       %  | Omit       -- Skip this instance of task; advance date if task re  %
  5267.       %  | Delete     -- Delete task altogether; do not log task              %
  5268.       %  | Inactive   -- Remove task from WiP display, if present             %
  5269.       %  |                                                                    %
  5270.       %  | Edit       -- Edit task definition                                 %
  5271.       %  | Adjust     -- Adjust priority of the task                          %
  5272.       %  | Make copy  -- Add (and edit) a copy of this task                   %
  5273.       %  | Select     -- Select task notes for possible actions               %
  5274.       %  | Notes      -- Edit notes for the task                              %
  5275.       %  +------------------------------------------------------------------  %
  5276.       %                                                                       %
  5277.       %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  5278.  
  5279.  
  5280.    Time Information on the Main Display
  5281.    ------------------------------------
  5282.  
  5283.       An  especially  useful time-related feature is the ability to display
  5284.       today's tasks and today's schedule on the Main Display. Since all the
  5285.       content of the Main Display is under your control, you may decide you
  5286.       don't want to make use of this feature, but it's  worth  considering.
  5287.       An example section of the Main Display is shown below.
  5288.  
  5289.                  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  5290.                  %                                                %
  5291.                  %   Dir: InContext Version 0.32 Help -- INC032   %
  5292.                  %   Drive: C   View: Document  Class: ALL   Obj  %
  5293.                  %  =Space==Time==Plans==WiP====View==Class==Obj  %
  5294.                  %  |                            |                %
  5295.                  %  | Today     Hours     WiP    |  Views  Class  %
  5296.                  %  | ambulanc  6 .... *help     | ALL      ALL   %
  5297.                  %  |*help      7 ....   INC032  | Archive  aaa   %
  5298.                  %  | plumbing  8 aaaa   CONTROL | Chess    asm   %
  5299.                  %  |*install   9 aaaa  tax      | Document c     %
  5300.                  %  |*runforms 10 aaaa   FINANCE | Finance  h     %
  5301.                  %  | tax      11 ....           | Fonts    mk    %
  5302.                  %  |          12p....           | Graphics lnt   %
  5303.                  %                                                %
  5304.                  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  5305.  
  5306.  
  5307.  
  5308.    InContxt.DOC                      -86-                       August 1991
  5309.  
  5310.  
  5311.  
  5312.  
  5313.    InContext User Guide                   TIME, PLANS, AND WORK-IN-PROGRESS
  5314.  
  5315.  
  5316.       This  display  shows  that several activities are or were planned for
  5317.       today, including "ambulanc"(an appointment), "plumbing" and one other
  5318.       urgent work tasks or to-do items, and several less urgent  tasks.  It
  5319.       indicates  that the "ambulanc" appointment is from 8:00 A.M. to 11:00
  5320.       A.M.
  5321.  
  5322.       The display of the task list on the Main Display allows you to easily
  5323.       select a task you would like to work on. Since one more keystroke can
  5324.       get you into the full work context associated with the task, this  is
  5325.       probably  the  most powerful method of moving from place to place and
  5326.       from task to task. The display also  contains  flags  indicating  the
  5327.       existence  of task notes for some of the tasks (these flags are shown
  5328.       here with the character '*', but they actually show on the display as
  5329.       little musical notes). Selecting this single character will result in
  5330.       immediate invocation of the editor on the task notes. (If you  use  a
  5331.       mouse,  you  may  find it convenient to design your Main Display with
  5332.       "Today" at the left edge of the display, since  that  makes  it  very
  5333.       easy to select the task notes with the mouse.)
  5334.  
  5335.  
  5336.    The Plans Display
  5337.    -----------------
  5338.  
  5339.       The  Plans  Display  is  similar to the Time Display, with three dif-
  5340.       ferences:
  5341.  
  5342.          o  It doesn't show a calendar or schedule.
  5343.  
  5344.          o  It doesn't  show  completed  tasks.  It  is  strictly  "future-
  5345.             oriented".
  5346.  
  5347.          o  It  shows all tasks, regardless of date, rather than only those
  5348.             tasks applicable to a particular day.
  5349.  
  5350.  
  5351.  
  5352.    The Work-in-Progress Display
  5353.    ----------------------------
  5354.  
  5355.       The Work-in-Progress (WiP) Display provides a different view of  your
  5356.       active tasks than that provided by the Time Display. The Time Display
  5357.       lists  the  tasks that are relevant to a selected date, regardless of
  5358.       their nature. When you first invoke the Time Display, the tasks shown
  5359.       are those relevant to "today". The  list  includes  appointments  and
  5360.       "spans"  such  as  "Summer  Vacation", and "My spouse's birthday". It
  5361.       also includes work tasks that involve the computer, and  tasks  which
  5362.       do  not. It is a convenient way of determining what you've planned to
  5363.       do today, but it is not the most convenient display for finding  your
  5364.       way  around  the  work  you do involving the computer. These comments
  5365.  
  5366.  
  5367.    InContxt.DOC                      -87-                       August 1991
  5368.  
  5369.  
  5370.  
  5371.  
  5372.    InContext User Guide                   TIME, PLANS, AND WORK-IN-PROGRESS
  5373.  
  5374.  
  5375.       also all apply to the Time portion of the Main Display.
  5376.  
  5377.       In contrast, the WiP display lists ONLY those  tasks  for  which  you
  5378.       have  established  a computer work context (by changing the "Context"
  5379.       in the task definition  to  "Set"  (see  "Setting  a  Task  Context",
  5380.       above).
  5381.  
  5382.               %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  5383.               %                                                     %
  5384.               %                     ==WiP====                       %
  5385.               %  ==Work=in=Progress=====================@Clear==@I  %
  5386.               %  |                                                  %
  5387.               %  |       Task or Directory                          %
  5388.               %  | *help -- Finish InContext Help Text              %
  5389.               %  |    1 C:\INC032                                   %
  5390.               %  |  # 2 C:\INC032\CONTROL                           %
  5391.               %  |  tax -- Work on family 1990 tax data             %
  5392.               %  |    3 C:\RUDY\FINANCE                             %
  5393.               %  |                                                  %
  5394.               %                                                     %
  5395.               %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  5396.  
  5397.       Furthermore,  the  WiP  display shows the directories associated with
  5398.       those tasks. If you have been in several different directories  while
  5399.       working  on  the  current  task,  they are all shown. The WiP display
  5400.       shows up to nine tasks, and up to nine directories.
  5401.  
  5402.       In the display above, for example, the current  task,  shown  at  the
  5403.       top, is "help -- Finish InContext Help Text". Work has been performed
  5404.       in  connection  with this task in two directories. The current direc-
  5405.       tory, shown first, is C:\INC032, but the user has also  been  in  the
  5406.       directory C:\INC032\CONTROL while working on this task. This informa-
  5407.       tion  is  also  shown  in WiP information on the main display, though
  5408.       usually in abbreviated form:
  5409.  
  5410.                                   %%%%%%%%%%%%%%%
  5411.                                   %             %
  5412.                                   %     WiP     %
  5413.                                   %  *help      %
  5414.                                   %    INC032   %
  5415.                                   %    CONTROL  %
  5416.                                   %   tax       %
  5417.                                   %    FINANCE  %
  5418.                                   %             %
  5419.                                   %             %
  5420.                                   %%%%%%%%%%%%%%%
  5421.  
  5422.  
  5423.  
  5424.  
  5425.  
  5426.    InContxt.DOC                      -88-                       August 1991
  5427.  
  5428.  
  5429.  
  5430.  
  5431.    InContext User Guide                   TIME, PLANS, AND WORK-IN-PROGRESS
  5432.  
  5433.  
  5434.       Special Properties of The Current Task
  5435.       --------------------------------------
  5436.       The top task displayed in the Work-in-Progress  list  is  always  the
  5437.       active  task, and is shown in the Context Area. Two function keys, F2
  5438.       and F3, allow you to perform operations on the current task.  If  you
  5439.       press  F2 (the "Edit" key), a menu will be presented, listing all the
  5440.       things you can do to the task. If, instead, you press F3, the  editor
  5441.       will be invoked on the task notes for the current task.
  5442.  
  5443.  
  5444.       Selecting Things on the WiP Display
  5445.       -----------------------------------
  5446.       It  is  easy  to  move around among several directories in connection
  5447.       with  a   task.   For   example,   to   return   to   the   directory
  5448.       C:\INC032\CONTROL  in the above example, simply select "CONTROL" from
  5449.       the WiP area of the main display using the mouse, or type "W" to  get
  5450.       the  longer display (the second display above), and "2" to select the
  5451.       desired directory.
  5452.  
  5453.       It is also easy to use this display to  move  among  several  current
  5454.       tasks,  by  selecting  the  task  instead  of the directory. Thus, to
  5455.       switch to work on the income tax  return,  above,  one  would  select
  5456.       "tax" from the main display just above, or type "W" and "t" to select
  5457.       that  task  using  the  WiP display itself. This would make "tax" the
  5458.       current task, and its directory the current directory.
  5459.  
  5460.  
  5461.       Popping the Top Item off the WiP Display
  5462.       ----------------------------------------
  5463.       The WiP display actually works like a stack. If you select a new task
  5464.       that is not already on the list, it will be added at the top  of  the
  5465.       list. The bottom task may be pushed off the list, if the list already
  5466.       contains nine tasks.
  5467.  
  5468.       Similarly,  if you select a new directory not already on the list, it
  5469.       will become directory number 1 (the active directory), and  a  direc-
  5470.       tory will be pushed off the bottom of the list, if the list is full.
  5471.  
  5472.       Just  as  you  can add new tasks and directories to the WiP list, you
  5473.       can also "pop" the top item off that list. This uses the @Pop command
  5474.       from the command bar of the WiP display.  If  there  is  a  directory
  5475.       listed under the top task, it will be popped off the list. Otherwise,
  5476.       the  top  task  will  be  popped off the list. This operation is also
  5477.       available from the main display, using function key F6.
  5478.  
  5479.       An simple example will illustrate how this  can  be  useful.  Suppose
  5480.       that, in performing the "help" task shown above, it becomes necessary
  5481.       to  go  to another directory to find a file, in order to copy it into
  5482.       the current directory. This might be done in the following way:
  5483.  
  5484.  
  5485.    InContxt.DOC                      -89-                       August 1991
  5486.  
  5487.  
  5488.  
  5489.  
  5490.    InContext User Guide                   TIME, PLANS, AND WORK-IN-PROGRESS
  5491.  
  5492.  
  5493.           1. Use the Space command to go to the directory in question.
  5494.  
  5495.           2. Find and select the desired file.
  5496.  
  5497.           3. Select the "take" action.
  5498.  
  5499.           4. Press F6, to pop the top directory off  the  stack,  returning
  5500.              you to the original directory.
  5501.  
  5502.           5. Select the "put-obj" action.
  5503.  
  5504.  
  5505.  
  5506.       Selecting Today's Tasks
  5507.       -----------------------
  5508.       Selecting  the  @Today  command  from the WiP Display command bar (or
  5509.       pressing Alt-T from the main display)  initializes  the  WiP  Display
  5510.       from the list of tasks shown for today in the Time Display. This is a
  5511.       very convenient starting place; you might even want to use a
  5512.       "startup"  macro  to do this automatically when you initialize InCon-
  5513.       text (see "Macros" section of the "Classes and Actions" chapter).
  5514.  
  5515.  
  5516.       Clearing the WiP List
  5517.       ---------------------
  5518.       To remove all tasks and directories from the WiP list, simply  select
  5519.       the @Clear command from the WiP Display. This will allow you to start
  5520.       from  scratch, adding only those tasks you choose to attend to at any
  5521.       given time.
  5522.  
  5523.  
  5524.       Interruptions
  5525.       -------------
  5526.       Sometimes, things happen which create an interruption to the work  at
  5527.       hand.  For example, you may get a phone call which requires you to go
  5528.       look in two or three different directories for information desired by
  5529.       the caller. It is inconvenient and confusing if all these directories
  5530.       become associated with the task you were performing before the  phone
  5531.       rang.  By  selecting the @Interrupt command from the WiP Display com-
  5532.       mand bar (or pressing Alt-I from the Main  Display),  you  can  cause
  5533.       this  to  be  done as an "Interruption or Unspecified Task". When you
  5534.       pop this task off the WiP list (or even select it when  it's  at  the
  5535.       top  of that list), the task and all its directories will be removed,
  5536.       returning you to the context you were in at the time of the interrup-
  5537.       tion.
  5538.  
  5539.  
  5540.  
  5541.  
  5542.  
  5543.  
  5544.    InContxt.DOC                      -90-                       August 1991
  5545.  
  5546.  
  5547.  
  5548.  
  5549.    InContext User Guide                           MORE COMMANDS AND OPTIONS
  5550.  
  5551.  
  5552.        
  5553.                          +---------------------------+
  5554.                          | MORE COMMANDS AND OPTIONS |
  5555.                          +---------------------------+
  5556.  
  5557.  
  5558.  
  5559.    More Commands
  5560.    -------------
  5561.  
  5562.  
  5563.       Several less-commonly-used commands are available  to  you  from  the
  5564.       "More"  (additional  commands)  menu. When you select "More" from the
  5565.       Command Bar, the list of miscellaneous commands will appear, as shown
  5566.       below.
  5567.  
  5568.       The commands are:
  5569.  
  5570.          Create   This command allows you to create new objects and  direc-
  5571.                   tories.  See  the  section  below,  "Creating Objects and
  5572.                   Directories".
  5573.  
  5574.                   You can create an object from the Main Display by  press-
  5575.                   ing function key F9.
  5576.  
  5577.          DOS      This  command invokes the MS-DOS command interpreter as a
  5578.                   separate process under InContext. There, you can  execute
  5579.                   MS-DOS  commands.  When you're finished, type "exit", and
  5580.                   you will return to InContext.
  5581.  
  5582.                   This command is also available  directly  from  the  Main
  5583.                   Display, by pressing the 'E' key.
  5584.  
  5585.          Lines    If  you  have an EGA or VGA display adapter, this command
  5586.                   toggles back and forth between the high-density and  low-
  5587.                   density  hardware fonts. On an EGA, for example, repeated
  5588.                   uses of this command will cause your display to alternate
  5589.                   between a 43-line display and a 25-line display.
  5590.  
  5591.                   NOTE: if you enter InContext using a soft  display  font,
  5592.                   use  of  this command will substitute the hardware fonts,
  5593.                   and InContext cannot restore the  soft  fonts.  You  will
  5594.                   have  to reload them with your soft-font-loader. This can
  5595.                   be done either from within InContext, or after exiting.
  5596.  
  5597.                   This command is also available  directly  from  the  Main
  5598.                   Display, by pressing the 'L' key.
  5599.  
  5600.          Mode     This  command  allows  you  to  cycle through the display
  5601.  
  5602.  
  5603.    InContxt.DOC                      -91-                       August 1991
  5604.  
  5605.  
  5606.  
  5607.  
  5608.    InContext User Guide                           MORE COMMANDS AND OPTIONS
  5609.  
  5610.  
  5611.                   formats available for the Main Display. For more informa-
  5612.                   tion, see the later section on "Format and User  Informa-
  5613.                   tion Options". This command can also be selected from the
  5614.                   Main Display, by pressing function key F8.
  5615.  
  5616.          Notes    This command allows you to edit the task notes associated
  5617.                   with  the  currently  selected task, if there is one. Al-
  5618.                   though it is not shown on the Main Display  Command  Bar,
  5619.                   this  function  is also available there, by just pressing
  5620.                   'N', or function key F3.
  5621.  
  5622.          Options  This command allows you to alter many optional aspects of
  5623.                   InContext behavior. See section below,  "Changing  InCon-
  5624.                   text Options".
  5625.  
  5626.          Relog    This command causes InContext to update its log of either
  5627.                   the current directory or the entire current drive. If you
  5628.                   perform MS-DOS commands outside of InContext, the log may
  5629.                   become  outdated  and not show you all the directories or
  5630.                   files. Use this to bring it up to date. For more informa-
  5631.                   tion, see the later section of  this  chapter,  "Changing
  5632.                   Disk Drive Options".
  5633.  
  5634.                   From  the  Main Display, you can relog the current direc-
  5635.                   tory by just pressing the 'R' key.
  5636.  
  5637.          User     InContext allows a PC  to  have  multiple,  one-at-a-time
  5638.                   users  whose  task  lists  and  configuration preferences
  5639.                   differ. This command allows you to change users, in  such
  5640.                   an environment. See the section below, "Multiple Users".
  5641.  
  5642.  
  5643.  
  5644.    Creating Objects and Directories
  5645.    --------------------------------
  5646.  
  5647.       It's easy to create new objects or directories. Select the More menu,
  5648.       and  choose the "Create" command. You'll be asked whether you want to
  5649.       create an object or a directory.
  5650.  
  5651.       If you select "Directory", you will be asked to provide  an  ordinary
  5652.       MS-DOS  name  for  the new directory. If you provide a directory name
  5653.       that does not conflict with a file or directory name already in  use,
  5654.       a  new  subdirectory will be created under the current directory. You
  5655.       will find yourself moved into the new subdirectory automatically.
  5656.  
  5657.       If you select "Object", you will be asked to specify first the  class
  5658.       of  the  new  object,  and  then its filename prefix. Thus, to create
  5659.       "mynew.wk1", you would respond  "wk1"  to  the  class  question,  and
  5660.  
  5661.  
  5662.    InContxt.DOC                      -92-                       August 1991
  5663.  
  5664.  
  5665.  
  5666.  
  5667.    InContext User Guide                           MORE COMMANDS AND OPTIONS
  5668.  
  5669.  
  5670.       "mynew"  to  the  filename  prefix question. You can create an object
  5671.       directly from the Main Display, by just pressing function key F9.
  5672.  
  5673.       When you create a new object, InContext first looks to see whether or
  5674.       not you have specified a template for the class. A template is a file
  5675.       which contains the exact information you  would  like  in  any  newly
  5676.       created  object  of a particular class. For example, if your initials
  5677.       are "hrr", you might wish to create an "hrr" class to  use  for  your
  5678.       business  letters.  The template for this class would be a file named
  5679.       "hrr.tpl". You would create the template using your  word  processor,
  5680.       and  you would set it up to contain an "empty" letter, including your
  5681.       letterhead and closing, with space indicated for the recipient's name
  5682.       and address, salutation, and text.
  5683.  
  5684.       If InContext finds such a template for the  requested  class,  a  new
  5685.       object will be created in the current directory by simply copying the
  5686.       template.  You  will  then be able to perform, on the new object, the
  5687.       actions defined for its class. Among these would usually be an "edit"
  5688.       operation, which in the case of the  "hrr"  letterhead  would  invoke
  5689.       your word processor, allowing you to complete the letter.
  5690.  
  5691.       If  InContext  does  not  find a template for the requested class, it
  5692.       offers to create an empty file.
  5693.  
  5694.       For information about creating  new  object  classes,  including  the
  5695.       creation of templates for those classes, see the chapter "Classes and
  5696.       Actions".
  5697.  
  5698.  
  5699.    Changing InContext Options
  5700.    --------------------------
  5701.  
  5702.       Quite  a  few  aspects of InContext behavior are subject to your con-
  5703.       trol. Many of these are controlled  by  how  you  set  the  program's
  5704.       options.  This is done by selecting "More" from the Main Display, and
  5705.       then selecting "Options". The resulting menu is shown on the  display
  5706.       below.
  5707.  
  5708.  
  5709.  
  5710.  
  5711.  
  5712.  
  5713.  
  5714.  
  5715.  
  5716.  
  5717.  
  5718.  
  5719.  
  5720.  
  5721.    InContxt.DOC                      -93-                       August 1991
  5722.  
  5723.  
  5724.  
  5725.  
  5726.    InContext User Guide                           MORE COMMANDS AND OPTIONS
  5727.  
  5728.  
  5729.       %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  5730.       %                                                                      %
  5731.       %                                                          ==More====  %
  5732.       %  ==Select=desired=command==========================================  %
  5733.       %  | Create# -- Creates a new object or subdirectory                |  %
  5734.       %  | DOS     -- Starts command.com subshell (type "exit" to return) |  %
  5735.       %  | Execute -- Execute a single DOS command (no subshell)          |  %
  5736.       %  | Lines   -- Toggle 50-line display ON                           |  %
  5737.       %  | Mode    -- Changes main display mode                           |  %
  5738.       %  | Note    -- Edit notes associated with currently active task    |  %
  5739.       %  | Options -- Allows you to change configuration options          |  %
  5740.       %  | Relog   -- Update file/directory list                          |  %
  5741.       %  | Screen  -- Screen refresh                                      |  %
  5742.       %  | User    -- Change users                                        |  %
  5743.       %  +----------------------------------------------------------------+  %
  5744.       %                                                                      %
  5745.       %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  5746.  
  5747.  
  5748.       Changing the Display Colors
  5749.       ---------------------------
  5750.       To  change  display  colors, select the "More" menu, followed by "Op-
  5751.       tions" and "Colors". The display that results is shown below.
  5752.  
  5753.       %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  5754.       %                                                                      %
  5755.       %                                                          ==More====  %
  5756.       %  ==Commands=Look=Like=This:==Ordinary==Selected====================  %
  5757.       %  |                                                                |  %
  5758.       %  | To change foreground, press:   To change background:           |  %
  5759.       %  |     F1 = Ordinary text #         1 = Ordinary background       |  %
  5760.       %  |     F2 = Bold text (background not separately changeable)      |  %
  5761.       %  |                                                                |  %
  5762.       %  |     F3===Editable=text           3 = Editable background       |  %
  5763.       %  |                                                                |  %
  5764.       %  |     F4 = Available commands      4 = Command background        |  %
  5765.       %  |     F5 = Command letters (background not separately changeable)|  %
  5766.       %  |                                                                |  %
  5767.       %  |     F6 = Selected command        6 = Selected background       |  %
  5768.       %  |                                                                |  %
  5769.       %  |     F8 = Error messages          8 = Error background          |  %
  5770.       %  |                                                                |  %
  5771.       %  |     F9 = Cursor color            F10 = Restore original colors |  %
  5772.       %  |                                                                |  %
  5773.       %  +=Error=messages=look=like=this==================================+  %
  5774.       %                                                                      %
  5775.       %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  5776.  
  5777.       You can change any background or foreground color used  by  InContext
  5778.  
  5779.  
  5780.    InContxt.DOC                      -94-                       August 1991
  5781.  
  5782.  
  5783.  
  5784.  
  5785.    InContext User Guide                           MORE COMMANDS AND OPTIONS
  5786.  
  5787.  
  5788.       (except the black that's used to create a "shadow" effect for some of
  5789.       the  windows).  To  do  so, just press the indicated key or place the
  5790.       cursor on the description of the color you want to change  and  press
  5791.       ENTER  or  the  left  mouse  button. The selected information will be
  5792.       displayed in the next available color. The effect will be immediately
  5793.       visible in the color-change window. By repeating the  operation,  you
  5794.       can cycle through all the colors, eventually returning you to the one
  5795.       you started with. On most color displays, 16 color choices are avail-
  5796.       able.
  5797.  
  5798.       If  you are using a monochrome display, the "color" choices available
  5799.       to you are limited to black, white, and bright white.  Not  all  com-
  5800.       binations  are allowable, either. As a result, you may see some unex-
  5801.       pected changes when you alter the colors. If you change a  background
  5802.       color,  for  example,  the  corresponding  foreground  color may also
  5803.       change in order to produce a "legal" combination.
  5804.  
  5805.       Feel free to experiment. You can always return to the original set of
  5806.       colors by pressing function key F10.
  5807.  
  5808.  
  5809.       Changing Disk Drive Options
  5810.       ---------------------------
  5811.       You can exert considerable control over InContext's  start-time  per-
  5812.       formance  by  selecting  the right disk-drive options. The disk drive
  5813.       options display appears when you select "More", followed by "Options"
  5814.       and "Disk".
  5815.  
  5816.                     %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  5817.                     %                                          %
  5818.                     %  ==Change=Disk=Drive=and=Logging=Option  %
  5819.                     %  |                                       %
  5820.                     %  |           Type     Logging   Display  %
  5821.                     %  | Drive A:#Diskette  Current   Current  %
  5822.                     %  | Drive B: Diskette  Current   Current  %
  5823.                     %  | Drive C: HardDisk  On Disk   Current  %
  5824.                     %  | Drive D: HardDisk  As Need   Current  %
  5825.                     %  | Drive E: Inactive                     %
  5826.                     %  | Drive F: Inactive                     %
  5827.                     %  | Drive G: Inactive                     %
  5828.                     %                                          %
  5829.                     %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  5830.  
  5831.       This display has an entry for each of  the  26  possible  disk  drive
  5832.       letters.  You  should set up the values in this display to correspond
  5833.       to the drives you actually have on your system. The display above  is
  5834.       for  a  system with two separate diskette drives, a hard drive, and a
  5835.       RAMdisk "drive".
  5836.  
  5837.  
  5838.  
  5839.    InContxt.DOC                      -95-                       August 1991
  5840.  
  5841.  
  5842.  
  5843.  
  5844.    InContext User Guide                           MORE COMMANDS AND OPTIONS
  5845.  
  5846.  
  5847.       You can cycle among the possible values for each drive by placing the
  5848.       cursor on the appropriate line and pressing ENTER or the  left  mouse
  5849.       button. The display below shows all possible values.
  5850.  
  5851.                      %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  5852.                      %                                        %
  5853.                      %            Type     Logging   Display  %
  5854.                      %  Drive N: Inactive                     %
  5855.                      %  Drive O: Diskette  Current   Current  %
  5856.                      %  Drive P: HardDisk  On Disk   Current  %
  5857.                      %  Drive Q: HardDisk  On Disk   Always   %
  5858.                      %  Drive R: HardDisk  At Start  Current  %
  5859.                      %  Drive S: HardDisk  At Start  Always   %
  5860.                      %  Drive T: HardDisk  As Need   Current  %
  5861.                      %  Drive U: HardDisk  As Need   Always   %
  5862.                      %                                        %
  5863.                      %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  5864.  
  5865.       You  should  make  sure that any unavailable drive letters are marked
  5866.       "Inactive". Also, if you have only one diskette drive (A), you should
  5867.       probably mark drive A as "Diskette" and drive B as  "Inactive",  even
  5868.       though you can address the drive by both letters.
  5869.  
  5870.       On  a  hard  drive, you have some choices to make about disk logging.
  5871.       The possible values are:
  5872.  
  5873.          On Disk  The full drive is logged, and the log is stored  on  disk
  5874.                   when you exit InContext, so that it can be read in as you
  5875.                   start  your  next  session.  This  speeds  up the program
  5876.                   startup, but will keep a current log only if you  do  all
  5877.                   your  work  from within InContext. Even if you don't, you
  5878.                   may prefer to use this option and  do  occasional  manual
  5879.                   relogging (use the "More Relog" command). For most users,
  5880.                   this is probably the preferred setting, at least for your
  5881.                   main hard drive.
  5882.  
  5883.          At Start The  full  drive  is logged at the start of each session,
  5884.                   and the log is not saved from session  to  session.  This
  5885.                   guarantees  you  a  full,  current  log when you start up
  5886.                   InContext, but it takes extra time  at  program  startup.
  5887.                   Because  InContext  does  its drive logging mostly in the
  5888.                   background, this may not  bother  you.  However,  if  you
  5889.                   attempt  an  operation  that relies on the full drive log
  5890.                   before the logging process is  complete,  you  will  then
  5891.                   have to wait.
  5892.  
  5893.          As Need  Only  selected  portions of the drive are logged, and the
  5894.                   log is extended  only  as  needed.  This  gives  you  the
  5895.                   fastest performance, and may be the best setting for some
  5896.  
  5897.  
  5898.    InContxt.DOC                      -96-                       August 1991
  5899.  
  5900.  
  5901.  
  5902.  
  5903.    InContext User Guide                           MORE COMMANDS AND OPTIONS
  5904.  
  5905.  
  5906.                   users. With this option selected, initial logging is done
  5907.                   for  the  root directory and for any directories to which
  5908.                   you have assigned names (the "Go" list), since those  are
  5909.                   the  places you're most likely to need information about.
  5910.                   (A few other directories are  also  logged,  to  optimize
  5911.                   performance.)  This  works  well,  except  that the Space
  5912.                   Display will contain only a partial directory  tree.  You
  5913.                   can  extend it to a complete tree at any time by manually
  5914.                   relogging the whole drive.
  5915.  
  5916.  
  5917.       You can also cause a drive's full directory tree to be  displayed  in
  5918.       the  Space  Display even if it is not the current drive, by selecting
  5919.       "Always" rather than "Current" as the value for the "Display" field.
  5920.  
  5921.       InContext supports SUBST drives, but including them as active  drives
  5922.       on  the  list  above can cause a problem. Let's suppose you have hard
  5923.       drive C, and you use SUBST to assign drive letter E to the  directory
  5924.       "C:\GOODSTUF".  Any time you do work in the directory, InContext will
  5925.       update its list of the objects and subdirectories there, but it  will
  5926.       do  so  only  for  one of the two drive letters. If you make a change
  5927.       there when working on the C drive, and then go to the  E  drive,  the
  5928.       change  will  not  necessarily be reflected. If you make use of SUBST
  5929.       drives, you may want to manually relog the directory as you enter.
  5930.  
  5931.  
  5932.       Changing Subprogram Execution Options
  5933.       -------------------------------------
  5934.       InContext swaps most of itself (all but  about  15K)  out  of  memory
  5935.       whenever  it  executes an MS-DOS command. You can control how much is
  5936.       swapped out, and where the information is placed. You  do  this  from
  5937.       the  Execution  Options  display,  which  you  can reach by selecting
  5938.       "More", followed by "Options" and "Exec".
  5939.  
  5940.  
  5941.  
  5942.  
  5943.  
  5944.  
  5945.  
  5946.  
  5947.  
  5948.  
  5949.  
  5950.  
  5951.  
  5952.  
  5953.  
  5954.  
  5955.  
  5956.  
  5957.    InContxt.DOC                      -97-                       August 1991
  5958.  
  5959.  
  5960.  
  5961.  
  5962.    InContext User Guide                           MORE COMMANDS AND OPTIONS
  5963.  
  5964.  
  5965.                %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  5966.                %                                                   %
  5967.                %  ==Change=DOS=Procedure=Execution=Options=======  %
  5968.                %  |                                                %
  5969.                %  | Control over InContext Memory Swapping         %
  5970.                %  |    Allow Swap to EMS Memory? Yes#              %
  5971.                %  |                                                %
  5972.                %  |    Swap Path for Swapping to Disk              %
  5973.                %  |       d:\;c:\tmp;c:\;========================  %
  5974.                %  |                                                %
  5975.                %  |    Default Sub-Process Memory Request ==0      %
  5976.                %  |                                                %
  5977.                %  | Other Procedure-Execution Options              %
  5978.                %  |    Temporary Batch File Path or Name           %
  5979.                %  |       c:\tmp\temp.bat========================  %
  5980.                %  |                                                %
  5981.                %  |    Directory for Storage of Temporary Files    %
  5982.                %  |       c:\tmp=================================  %
  5983.                %  |                                                %
  5984.                %  |    Pause after single DOS commands? Yes        %
  5985.                %  |                                                %
  5986.                %  +----------------------------------------------  %
  5987.                %                                                   %
  5988.                %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  5989.  
  5990.       Using this display, you may enable or disable swapping to EMS. Unless
  5991.       you take some action here, InContext will automatically make  use  of
  5992.       expanded memory for its swapping, if you have it. You can disable it,
  5993.       though,  if  you  would prefer that swapping be to disk. InContext is
  5994.       compatible with EMS systems based on the  LIM  3.2  standard  or  any
  5995.       later standard.
  5996.  
  5997.       Whether you're using EMS or not, you should set up a valid swap path.
  5998.       This  string  is  interpreted in much the same fashion as a DOS path.
  5999.       Because it is under your control, you can set up  a  priority  scheme
  6000.       for  selecting the directory in which the swapped information will be
  6001.       written, if EMS  is  unavailable  or  turned  off.  The  path  shown,
  6002.       "D:\;C:\TMP;C:\;", is from a system in which the D: drive is RAMdisk.
  6003.       Thus,  with  this  path, and EMS enabled, InContext will first try to
  6004.       write most of itself out to EMS memory (the fastest possibility).  If
  6005.       there  is insufficient EMS memory available, it will write to RAMdisk
  6006.       ("D:"). If there isn't enough space there, it will try  to  write  to
  6007.       the directory "C:\TMP", then to the "C:\" root directory, and finally
  6008.       to  the current directory. This may seem like overkill, but this path
  6009.       would still work if EMS and RAMdisk memory were full and the "C:\TMP"
  6010.       directory had been deleted.
  6011.  
  6012.       If you're not using EMS memory for the swapping, you may occasionally
  6013.       find that swap files are left behind. This would occur, for  example,
  6014.  
  6015.  
  6016.    InContxt.DOC                      -98-                       August 1991
  6017.  
  6018.  
  6019.  
  6020.  
  6021.    InContext User Guide                           MORE COMMANDS AND OPTIONS
  6022.  
  6023.  
  6024.       if  you were executing another program under InContext and you turned
  6025.       your computer off, or rebooted. These files have  funny  names,  like
  6026.       "0e3c101e".  If  you're  not  using EMS memory, such a swap file will
  6027.       appear each time you execute a subprogram, and  will  disappear  each
  6028.       time  you  return  to  InContext  from that subprogram. DO NOT DELETE
  6029.       these swap files from within the  subprogram,  as  it  will  then  be
  6030.       impossible  for  InContext  to reload its swapped-out information. It
  6031.       is, however, OK to delete them using the InContext  delete  operation
  6032.       itself, since any swap file you can see in the InContext Main Display
  6033.       is  a  left-over  from  some  previous  aborted operation. You should
  6034.       probably check for these files once in  awhile,  since  they  can  be
  6035.       fairly large, and would add up if left there.
  6036.  
  6037.       You  may  also specify how much memory you would like free for MS-DOS
  6038.       command executions. Most users will want to leave this value  set  to
  6039.       zero,  which  causes InContext to free as much memory as possible. If
  6040.       you use only programs that take relatively little memory, though, you
  6041.       can speed up their execution by setting this to an appropriate value.
  6042.       For example, to attempt to leave 420K bytes of memory  for  all  sub-
  6043.       processes  executed under InContext, simply place the number "420" in
  6044.       the Memory Request field.
  6045.  
  6046.       Whenever InContext needs to execute two or more  MS-DOS  commands  in
  6047.       sequence,  it  creates  a batch file and then executes that file. You
  6048.       can control where the batch file is written. If you have  a  RAMdisk,
  6049.       that  is probably the preferred location. The batch file will only be
  6050.       there briefly, and it's small, but writing it to RAMdisk  will  speed
  6051.       things  up  considerably. The value shown above, "D:\temp.bat", would
  6052.       cause the generated batch file to have the name  "TEMP.BAT",  and  be
  6053.       located in the root directory of drive "D:".
  6054.  
  6055.       Under  some  circumstances,  InContext generates temporary files (for
  6056.       example, when printing information using an  external  print  program
  6057.       you  specify  in the incPrint macro). Since these files may be large,
  6058.       you might choose to have them written on a different drive  than  the
  6059.       smaller  batch  file  above.  You might find it appropriate to have a
  6060.       "tmp" directory on your main drive for such purposes.
  6061.  
  6062.       When you execute single DOS commands, by selecting  "More"  and  "Ex-
  6063.       ecute"  (or  by  pressing 'E' from the Main Display), you may wish to
  6064.       have an automatic pause so you can view the results before  returning
  6065.       to the main InContext display. The "Pause after single DOS commands?"
  6066.       option allows you a choice regarding the pause.
  6067.  
  6068.  
  6069.       Changing Formats and User Information
  6070.       -------------------------------------
  6071.       To  change  user name, registration number, date/time formats, or the
  6072.       format of the Main Display, select "More", followed by "Options"  and
  6073.  
  6074.  
  6075.    InContxt.DOC                      -99-                       August 1991
  6076.  
  6077.  
  6078.  
  6079.  
  6080.    InContext User Guide                           MORE COMMANDS AND OPTIONS
  6081.  
  6082.  
  6083.       "Formats".
  6084.  
  6085.       These  fields  are  all  editable  in the usual ways (see "Editing in
  6086.       InContext", in the chapter "Interacting  with  InContext").  You  may
  6087.       enter  your name and registration number by typing in the appropriate
  6088.       fields. Changing the  User  Name  field  "unlocks"  the  Registration
  6089.       Number  field  so  you  can  enter a registration number. Typing in a
  6090.       valid registration number causes InContext to cease its  startup  and
  6091.       ending  "shareware"  displays, and eliminates the "Unregistered" com-
  6092.       ment from the Main Display. The registration number is displayed only
  6093.       at the time you enter it.
  6094.  
  6095.       You may cycle through the supported formats for date and time by just
  6096.       placing the cursor on the relevant field and pressing  ENTER  or  the
  6097.       left mouse button.
  6098.  
  6099.       The most important use of this option-setting display, though, is the
  6100.       control  it  gives  you  over  the  contents of the Main Display. The
  6101.       format, spacing, and contents of that display is entirely under  user
  6102.       control,  and  you  can  even  define  multiple formats with separate
  6103.       purposes, if you like.
  6104.  
  6105.       The format of the Main Display is controlled by a  character  string,
  6106.       which you can alter by editing it. For example, the string
  6107.  
  6108.                   "ttttttttt hhhhhhh | vvvvvvvv ccc oooooooooooo"
  6109.  
  6110.       causes the Main Display to contain
  6111.  
  6112.                 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  6113.                 %                                                  %
  6114.                 %   Today     Hours  |  Views  Class   Objects     %
  6115.                 %   devin    12a.... | ALL      ALL  aspaddr.wdx   %
  6116.                 %  *apps====  1 .... | Archive  apt     beta.wdx   %
  6117.                 %  *docs====  2 .... | Chess    doc incontxt.wdx   %
  6118.                 %                                                  %
  6119.                 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  6120.  
  6121.       Notice  how  the  "Today"  portion  of the display corresponds to the
  6122.       columns containing the letter 't', "Hours" to 'h',  "Views"  to  'v',
  6123.       and so on. Even the vertical line results from a vertical bar charac-
  6124.       ter in the format control string.
  6125.  
  6126.       In  most  cases, you can provide for multiple columns of information,
  6127.       simply by devoting enough columns to a single information  type.  For
  6128.       example,  in  a  directory  with  lots of objects, the format control
  6129.       string containing 40 'o' characters in succession results in  a  dis-
  6130.       play with three columns of object names.
  6131.  
  6132.  
  6133.  
  6134.    InContxt.DOC                      -100-                      August 1991
  6135.  
  6136.  
  6137.  
  6138.  
  6139.    InContext User Guide                           MORE COMMANDS AND OPTIONS
  6140.  
  6141.  
  6142.       For  each  Main  Display format that you want to enter or change, you
  6143.       should simply enter a name for  the  format,  and  a  format  control
  6144.       string, both in the appropriate fields.
  6145.  
  6146.              %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  6147.              %                                                       %
  6148.              %                                    1         2        %
  6149.              %     Main display format names:  Work====  Objects=    %
  6150.              %                                                       %
  6151.              %     Main display format 1:                            %
  6152.              %  ttttttttt=hhhhhhh=|=vvvvvvvv=ccc=oooooooooooo=aaaaa  %
  6153.              %                                                       %
  6154.              %     Main display format 2:                            %
  6155.              %  =vvvvvvvv=ccc=ooooooooooooooooooooooooooooooooooooo  %
  6156.              %                                                       %
  6157.              %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  6158.  
  6159.       In  the  display  above,  the name of the first format (also called a
  6160.       "display Mode"  elsewhere)  is  "Work".  The  format  control  string
  6161.       provides  for  left-to-right  presentation  of  the "Today", "Hours",
  6162.       "View", "Class", "Objects", in  the  portion  of  the  string  that's
  6163.       visible here.
  6164.  
  6165.       Once  you've  defined  them,  you  will  be able to cycle among these
  6166.       display modes from the Main Display using the "More Mode" command (or
  6167.       function key F8). The name of the selected mode will be displayed  at
  6168.       the bottom. Any display formats whose format control strings are left
  6169.       blank are regarded as undefined.
  6170.  
  6171.       In  addition  to  the  space  character and the vertical bar (|), the
  6172.       characters you may use in such a format specification  are  shown  in
  6173.       the following table.
  6174.  
  6175.        %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  6176.        %                                                                      %
  6177.        %  Letter  Meaning  Columns    Description                             %
  6178.        %  ------  -------  -------  -------------------------------           %
  6179.        %    t      Today      9*    Today's tasks                             %
  6180.        %    h      Hours      7*    Today's schedule                          %
  6181.        %    w      WiP       14     Work-in-Progress (10 cols. useful)        %
  6182.        %    W      WiP       43     Work-in-Progress, with descriptions       %
  6183.        %    v      Views      8     Names of defined views                    %
  6184.        %    c      Classes    3     Classes present in current view           %
  6185.        %    o      Objects   12     Objects visible in current directory      %
  6186.        %    a      Actions    8     Actions performable on current object(s)  %
  6187.        %    g      Go         8     List of named directories                 %
  6188.        %    d      Do         8     List of location-independent procedures   %
  6189.        %    D      Do        42     Do procedures, with descriptions          %
  6190.        %    s      Subdirs   12     Subdirectories of current directory       %
  6191.  
  6192.  
  6193.    InContxt.DOC                      -101-                      August 1991
  6194.  
  6195.  
  6196.  
  6197.  
  6198.    InContext User Guide                           MORE COMMANDS AND OPTIONS
  6199.  
  6200.  
  6201.        %                                                                      %
  6202.        %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  6203.  
  6204.       In  each  case, the minimal number of columns is shown. Those with an
  6205.       asterisk by this number do not allow multiple-column display.
  6206.  
  6207.  
  6208.       Video and Display Options
  6209.       -------------------------
  6210.       Several display-related  configuration  options  can  be  changed  by
  6211.       selecting  the  "More"  menu,  followed by "Options" and "Video". The
  6212.       display that results looks like this:
  6213.  
  6214.       %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  6215.       %                                                                      %
  6216.       %  Change=Video=and=Display=Options==================================  %
  6217.       %                                                                      %
  6218.       %  Case:        Upper/lower case for directory names and paths  UPPER  %
  6219.       %               Upper/lower case for object and class names     lower  %
  6220.       %               Upper/lower case for other names                Mixed  %
  6221.       %                                                                      %
  6222.       %  Disk:        Constantly display available disk space?  #     Yes    %
  6223.       %                                                                      %
  6224.       %  Directories: Display directory description rather than path? Yes    %
  6225.       %                                                                      %
  6226.       %  Restore:     Restore previous screen image on exit?          No     %
  6227.       %                                                                      %
  6228.       %  Snow:        Suppress special anti-snow treatment for CGA?   N/A    %
  6229.       %                                                                      %
  6230.       %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  6231.  
  6232.       To change any of these options, just place the cursor on the line you
  6233.       want to change and press ENTER or the left  mouse  button.  Repeating
  6234.       this  action  will allow you to cycle through the available values of
  6235.       the property in question.
  6236.  
  6237.       These options are discussed in more detail below.
  6238.  
  6239.          Case         Users vary in their preferences for upper case, lower
  6240.                       case, or mixed  case  for  various  information.  The
  6241.                       default  arrangement  seems to make it easier to dis-
  6242.                       criminate various kinds of information, especially in
  6243.                       the main display.
  6244.  
  6245.          Disk         You can turn off the automatic display  of  available
  6246.                       disk space, if you like.
  6247.  
  6248.          Directories  With  this  option set to "Yes", whenever you're in a
  6249.                       directory to which you have assigned  a  Description,
  6250.  
  6251.  
  6252.    InContxt.DOC                      -102-                      August 1991
  6253.  
  6254.  
  6255.  
  6256.  
  6257.    InContext User Guide                           MORE COMMANDS AND OPTIONS
  6258.  
  6259.  
  6260.                       that  description  will appear in the context area at
  6261.                       the top of the display. If the option is set to "No",
  6262.                       or if you're in a directory to which  no  Description
  6263.                       has  been  given,  the full pathname of the directory
  6264.                       will be displayed.
  6265.  
  6266.          Restore      InContext is normally intended to be invoked and  run
  6267.                       for  long periods, with your operations executed from
  6268.                       inside InContext. Should you  find  a  way  of  using
  6269.                       InContext from another program, however, you may want
  6270.                       it  to save the screen from which it was invoked, and
  6271.                       to restore that screen on exit.
  6272.  
  6273.          Snow         Some older CGA display  adapters  produce  a  "snowy"
  6274.                       appearance if information is displayed without regard
  6275.                       to  the  state  of the CGA. If you have this problem,
  6276.                       setting  this  option  to  "Yes"  may  eliminate  the
  6277.                       problem,  though  at  the  cost  of slowing InContext
  6278.                       down.
  6279.  
  6280.  
  6281.  
  6282.       Miscellaneous Options
  6283.       ---------------------
  6284.       Several miscellaneous configuration options can be changed by select-
  6285.       ing the "More" menu, followed by "Options" and  "Miscellaneous".  The
  6286.       display that results looks like this:
  6287.  
  6288.        %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  6289.        %                                                                    %
  6290.        %  Change=Miscellaneous=Options====================================  %
  6291.        %                                                                    %
  6292.        %    Editor:    Limit editor to files under (Kbytes)          =64    %
  6293.        %               Default tab setting for editor/viewer          3 #   %
  6294.        %                                                                    %
  6295.        %    Keyboard:  Allow key selection of commands and choices?  Yes    %
  6296.        %                                                                    %
  6297.        %    Objects:   Default display order for Objects Display     Class  %
  6298.        %                                                                    %
  6299.        %    Safety:    Require second verification before delete?    No     %
  6300.        %                                                                    %
  6301.        %    Sound:     Suppress sound when user action not allowed?  No     %
  6302.        %                                                                    %
  6303.        %    Printer:   Can print PC graphics characters?             Yes    %
  6304.        %               Pause after printing each page?               No     %
  6305.        %               Perform page eject after printing?            No     %
  6306.        %                                                                    %
  6307.        %    Time:      Show how many months in "Months" display?      4     %
  6308.        %               Show how many weeks in "Weeks" display?        2     %
  6309.  
  6310.  
  6311.    InContxt.DOC                      -103-                      August 1991
  6312.  
  6313.  
  6314.  
  6315.  
  6316.    InContext User Guide                           MORE COMMANDS AND OPTIONS
  6317.  
  6318.  
  6319.        %               Start "Weeks" display on what day?            Mon    %
  6320.        %  ----------------------------------------------------------------  %
  6321.        %                                                                    %
  6322.        %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  6323.  
  6324.       To  change  most  of these options, just place the cursor on the line
  6325.       you want to change and press ENTER or the left mouse button.  Repeat-
  6326.       ing  this action will allow you to cycle through the available values
  6327.       of the property  in  question.  The  "Limit  editor  to  files  under
  6328.       (Kbytes)" field is directly editable.
  6329.  
  6330.       These options are discussed in more detail below.
  6331.  
  6332.          Editor    The  InContext  internal  editor  is  intended mainly to
  6333.                    allow rapid editing  of  small  files  (especially  task
  6334.                    notes). The "Limit editor to files under (Kbytes)" field
  6335.                    sets an upper file-size limit on the use of the internal
  6336.                    editor.  Whenever InContext tries to invoke the internal
  6337.                    editor on a file larger than this limit  (64  Kilobytes,
  6338.                    by  default),  an error occurs (unless you've defined an
  6339.                    alternative editor; see "Special Macros" in the "Classes
  6340.                    and Actions" chapter).
  6341.  
  6342.                    "Default tab setting for editor/viewer"  determines  the
  6343.                    size  of  the indentations produced by the Tab key. This
  6344.                    default value can be over-ridden for particular classes.
  6345.  
  6346.          Keyboard  For those few users who prefer to use a mouse only,  and
  6347.                    wish  to  disable command inputs from the keyboard, this
  6348.                    option allows you to do so.
  6349.  
  6350.          Objects   This option allows you to alter  the  default  order  in
  6351.                    which  objects are displayed in the Objects display. The
  6352.                    alternatives are the  same  ones  selectable  from  that
  6353.                    display:  "Class",  "Name",  "Date",  and  "Size".  This
  6354.                    option has no effect on the main display.
  6355.  
  6356.          Safety    Novice users will probably prefer to leave  this  option
  6357.                    in its default setting, so that an extra verification is
  6358.                    required  before  deleting  anything.  More  experienced
  6359.                    users may wish to turn this feature off.
  6360.  
  6361.          Sound     If you don't like "beeps" when you press the wrong  key,
  6362.                    use this option to disable them.
  6363.  
  6364.          Printer   If  your  printer  is capable of printing the special PC
  6365.                    graphics characters, set  the  "Can  print  PC  graphics
  6366.                    characters"  option to "Yes". Otherwise, leave it set to
  6367.                    "No", and InContext will automatically substitute print-
  6368.  
  6369.  
  6370.    InContxt.DOC                      -104-                      August 1991
  6371.  
  6372.  
  6373.  
  6374.  
  6375.    InContext User Guide                           MORE COMMANDS AND OPTIONS
  6376.  
  6377.  
  6378.                    able characters when it prints things.
  6379.  
  6380.                    If you use a printer in which you have to feed paper  by
  6381.                    hand,  you'll want to set the "Pause after printing each
  6382.                    page" option to "Yes".
  6383.  
  6384.                    If you find that the last page of each printout  has  to
  6385.                    be  manually  ejected, set the "Perform page eject after
  6386.                    printing" option to "Yes".
  6387.  
  6388.          Time      Most users will  want  to  leave  these  options  alone.
  6389.                    However,  if  you use a special printing method, you may
  6390.                    want to change the values of "Show how  many  months  in
  6391.                    'Months'  display"  and  "Show how many weeks in 'Weeks'
  6392.                    display". For example, if you use the 4PRINT program, to
  6393.                    print two pages side-by-side, and print on both sides of
  6394.                    each page, convenient settings of these  options  are  4
  6395.                    and  2, respectively. Installing an alternative printing
  6396.                    method is  discussed  under  "Special  Macros",  in  the
  6397.                    "Classes and Actions" chapter.
  6398.  
  6399.                    The  "Start  'Weeks'  display on what day" option allows
  6400.                    you to print weekly calendars starting  on  any  desired
  6401.                    day of the week. These are very much like the commercial
  6402.                    organizer sheets available in hardcopy form.
  6403.  
  6404.  
  6405.  
  6406.    Multiple Users
  6407.    --------------
  6408.  
  6409.       InContext  allows  multiple  users  who  share  a single PC to set up
  6410.       separate configuration options to match  their  preferences,  and  to
  6411.       change  from  one  user  to another from inside the program. Although
  6412.       this feature works correctly in the current version,  automated  aids
  6413.       for its use are not yet implemented.
  6414.  
  6415.       If you want to use this feature, do the following:
  6416.  
  6417.          o  Go to the InContext directory (typically "C:\INCONTXT", but you
  6418.             may have chosen some other directory at installation time.
  6419.  
  6420.          o  Find  all the files that start with the letters "xxx", and make
  6421.             copies using the new user's three initials in place of the x's.
  6422.             (If you wish to use fewer than three initials, add x's  at  the
  6423.             end  to  make  a total of three characters.) Make sure you copy
  6424.             these files, rather than renaming them. As an example, if  your
  6425.             initials  are  "mar", you would copy the file "XXXCONFG.DAT" to
  6426.             "MARCONFG.DAT".
  6427.  
  6428.  
  6429.    InContxt.DOC                      -105-                      August 1991
  6430.  
  6431.  
  6432.  
  6433.  
  6434.    InContext User Guide                           MORE COMMANDS AND OPTIONS
  6435.  
  6436.  
  6437.       Unless you create a configuration file for the primary user, he  will
  6438.       be known by the default initials, "xxx".
  6439.  
  6440.       You  may  now make use of the User command, by selecting "More", fol-
  6441.       lowed by "User". In response to the query, type your initials (in the
  6442.       example, "mar") and press ENTER. Changes you make to  the  configura-
  6443.       tion will be saved for use by "mar", and will not affect other users.
  6444.       You  may also invoke the program directly for a specified user with a
  6445.       command-line argument:
  6446.  
  6447.            incontxt -u mar
  6448.  
  6449.       All users share the same set of object  class  templates  and  action
  6450.       definitions.  Only  the  configuration  information, views, and tasks
  6451.       (and hence, calendars) are stored separately on a user-by-user basis.
  6452.       Task notes are not automatically shared, but they use a single naming
  6453.       convention, and can be shared, if desired, by  manually  editing  the
  6454.       task definitions and inserting common note numbers.
  6455.  
  6456.  
  6457.  
  6458.  
  6459.  
  6460.  
  6461.  
  6462.  
  6463.  
  6464.  
  6465.  
  6466.  
  6467.  
  6468.  
  6469.  
  6470.  
  6471.  
  6472.  
  6473.  
  6474.  
  6475.  
  6476.  
  6477.  
  6478.  
  6479.  
  6480.  
  6481.  
  6482.  
  6483.  
  6484.  
  6485.  
  6486.  
  6487.  
  6488.    InContxt.DOC                      -106-                      August 1991
  6489.  
  6490.  
  6491.  
  6492.  
  6493.    InContext User Guide                      EXAMPLES AND APPLICATION NOTES
  6494.  
  6495.  
  6496.        
  6497.                       +--------------------------------+
  6498.                       | EXAMPLES AND APPLICATION NOTES |
  6499.                       +--------------------------------+
  6500.  
  6501.  
  6502.  
  6503.    Usage Examples and Application Notes
  6504.    ------------------------------------
  6505.  
  6506.       For  additional  information  about ways of using InContext, the user
  6507.       can consult two sources:  (1)  Usage  Examples  and  (2)  Application
  6508.       Notes.
  6509.  
  6510.       Studying Usage Examples will help you pick up ideas and will increase
  6511.       your  understanding.  A Usage Example describes a particular approach
  6512.       to organizing a portion of your computer-based work environment.  One
  6513.       or  more  ways  of  achieving  this  organization are then described,
  6514.       typically ranging from a very simple implementation to a more sophis-
  6515.       ticated one.
  6516.  
  6517.       Because they are constantly being improved, the  Usage  Examples  are
  6518.       provided as part of the help system, rather than in hardcopy form. To
  6519.       see  them,  select  "Help",  followed by "How?", in order to view the
  6520.       help system index. Find and select the "Examples" entry.
  6521.  
  6522.       One Usage Example is printed below, to give  you  an  idea  of  their
  6523.       content.
  6524.  
  6525.       Application  Notes ("AppNotes") have a different purpose, though they
  6526.       can also be a useful source of understanding and  examples.  Applica-
  6527.       tion  Notes  help  you  incorporate other programs into your work en-
  6528.       vironment. Some of these programs may be used  as  tools  (a  viewer,
  6529.       print  utility, or whatever), while others may represent the applica-
  6530.       tions that you use to do your actual work (word processors or spread-
  6531.       sheet programs, for example). A  starter  set  of  application  notes
  6532.       comes  with the shareware version of InContext. Additional "AppNotes"
  6533.       are available to registered users, through our BBS or by mail.
  6534.  
  6535.       The starter AppNotes are found in the  APPNOTES.LZH  archive  in  the
  6536.       InContext  directory.  This  is an archive containing a collection of
  6537.       "app" files. The "app" files are themselves archives, which  must  be
  6538.       extracted before you can make use of them. To examine one, you should
  6539.       first  "Edit" the APPNOTES.LZH file. Select the AppNote you're inter-
  6540.       ested in, and extract it. Then exit the editor. You  will  find  that
  6541.       the  extracted "app" object can be selected and edited. You will find
  6542.       a text file ("txt" class) to read, and perhaps an  action  definition
  6543.       or template, if those are relevant.
  6544.  
  6545.  
  6546.  
  6547.    InContxt.DOC                      -107-                      August 1991
  6548.  
  6549.  
  6550.  
  6551.  
  6552.    InContext User Guide                      EXAMPLES AND APPLICATION NOTES
  6553.  
  6554.  
  6555.       Two  AppNote examples are shown later in this chapter, to give you an
  6556.       idea of AppNote content. One illustrates a "class" AppNote, the other
  6557.       a "tool" AppNote.
  6558.  
  6559.  
  6560.    A Usage Example: Document Archives
  6561.    ----------------------------------
  6562.  
  6563.       A very handy facility to have is a document  archive,  which  can  be
  6564.       rapidly  accessed from any work context. One possible use for such an
  6565.       archive is to hold on-disk software documentation (user manuals), but
  6566.       other uses will be discussed below.
  6567.  
  6568.  
  6569.       A Simple Approach
  6570.       -----------------
  6571.       This can be easily accomplished by:
  6572.  
  6573.  
  6574.            o   Placing the documents in a compressed "archive" file,  using
  6575.                the  LHA  program.  This  can be done manually, or in a more
  6576.                automated way discussed below.
  6577.  
  6578.            o   Creating a "Do" procedure that views the archive.
  6579.  
  6580.  
  6581.       Suppose, for example, you  have  a  collection  of  software  manuals
  6582.       (examples  which you certainly do have are INCONTXT.DOC and LHA.DOC).
  6583.       You might create a document directory, such  as  C:\DOCS,  and  place
  6584.       these  manuals  there. Then go to that directory and archive each one
  6585.       (select "Action" and "Archive"). When  asked  what  archive,  respond
  6586.       "DOCUMENT".  These steps will result in the creation of a single file
  6587.       which contains, in highly compressed form, the text of your  software
  6588.       manuals.  The name of the file is DOCUMENT.LZH. When you are comfort-
  6589.       able that this  has  been  done  correctly,  you  should  delete  the
  6590.       original documents, retaining only the archive.
  6591.  
  6592.       Now  create  a new Do procedure, perhaps called "Document". Give it a
  6593.       Description such as "View Document Archive".       For the  procedure
  6594.       definition, use the following:
  6595.  
  6596.            !viewLZH c:\docs\document.lzh
  6597.  
  6598.       Whenever  you  select  this  procedure  (by  typing  "DD"  for  "Do",
  6599.       "Document"), the internal LHA viewer will be invoked on the  document
  6600.       archive. You will be able to select the desired document and view it,
  6601.       extract  it,  or  several other choices. If you extract it, a copy of
  6602.       the original document will be placed in the directory  in  which  you
  6603.       are currently working.
  6604.  
  6605.  
  6606.    InContxt.DOC                      -108-                      August 1991
  6607.  
  6608.  
  6609.  
  6610.  
  6611.    InContext User Guide                      EXAMPLES AND APPLICATION NOTES
  6612.  
  6613.  
  6614.       Handling Multiple Archives
  6615.       --------------------------
  6616.       It is easy to extend this to handle multiple archives, by just adding
  6617.       a menu to the definition of the Do procedure. A simple example is:
  6618.  
  6619.            !menu "Which archive would you like to view?"
  6620.               !choice "Document"
  6621.                  !viewLZH c:\docs\document.lzh
  6622.               !choice "Letters"
  6623.                  !viewLZH c:\personal\letters.lzh
  6624.            !endMenu
  6625.  
  6626.       This  example  assumes two archives, one containing documents and the
  6627.       other an archive of correspondence. A correspondence archive might be
  6628.       handy if you write letters from different work contexts, and want  to
  6629.       be  able  to keep them all in one place. Note, however, that there is
  6630.       no protection here against inadvertently using the same name for  two
  6631.       letters,  and  thus losing the older one. You would need to check for
  6632.       duplication of names yourself, before adding  a  new  letter  to  the
  6633.       archive.
  6634.  
  6635.       This  approach  is especially convenient when you want to write a new
  6636.       letter that is similar to one  you  wrote  before.  Simply  view  the
  6637.       Letters  archive,  select the older letter, and extract it. A copy of
  6638.       it will now be in the current directory. Rename it and edit  it,  and
  6639.       you have the new letter.
  6640.  
  6641.  
  6642.       Automatic Archiving by Class
  6643.       ----------------------------
  6644.       If  you have a document archive in which new material is added often,
  6645.       such as a correspondence archive, you may want to make  the  addition
  6646.       of such material more automatic. One way of doing this is to redefine
  6647.       the "Archive" action for a particular class. Thus, the Archive action
  6648.       for the "ltr" class might have the following procedure definition:
  6649.  
  6650.            lha u c:\personal\letters %f
  6651.            !pause
  6652.            !delete
  6653.  
  6654.       Anytime  this  archive  action is executed, the selected "ltr" object
  6655.       will be added to the letters archive without prompting the  user  for
  6656.       the archive name.
  6657.  
  6658.       If  you  have several different object classes, all of which are let-
  6659.       ters, you might make the  above  procedure  a  macro  ("arcLtr",  for
  6660.       example),  and  use the macro to define the "Archive" action for each
  6661.       of the classes. You might, for example, have both a  personal  and  a
  6662.       business letter class with different letterhead.
  6663.  
  6664.  
  6665.    InContxt.DOC                      -109-                      August 1991
  6666.  
  6667.  
  6668.  
  6669.  
  6670.    InContext User Guide                      EXAMPLES AND APPLICATION NOTES
  6671.  
  6672.  
  6673.       Saving to Desired Archive by Menu Selection
  6674.       -------------------------------------------
  6675.       An  alternative  approach  is  to  redefine the common archive action
  6676.       (i.e., the "Archive" action in the "Common" action list), so that its
  6677.       procedure presents you with a choice of  destination.  The  procedure
  6678.       definition might be:
  6679.  
  6680.            !menu "Put '%f' in which archive?"
  6681.               !choice "Document"
  6682.                  lha u c:\docs\document %f
  6683.               !choice "Letters"
  6684.                  lha u c:\personal\letters %f
  6685.               !choice "Other"
  6686.                  !query 1 "Enter name of LHA archive" 12
  6687.                  !verify "OK to archive '%f' to '%1'?"
  6688.                  lha u %1 %f
  6689.            !endMenu
  6690.            !pause
  6691.            !delete
  6692.  
  6693.       As  you  can see, lots of variations are possible. You should be able
  6694.       to adapt these ideas to your own situation.
  6695.  
  6696.  
  6697.  
  6698.  
  6699.  
  6700.  
  6701.  
  6702.  
  6703.  
  6704.  
  6705.  
  6706.  
  6707.  
  6708.  
  6709.  
  6710.  
  6711.  
  6712.  
  6713.  
  6714.  
  6715.  
  6716.  
  6717.  
  6718.  
  6719.  
  6720.  
  6721.  
  6722.  
  6723.  
  6724.    InContxt.DOC                      -110-                      August 1991
  6725.  
  6726.  
  6727.  
  6728.  
  6729.    InContext User Guide                      EXAMPLES AND APPLICATION NOTES
  6730.  
  6731.  
  6732.    A Class AppNote: Lotus 1-2-3
  6733.    ----------------------------
  6734.  
  6735.       Below is the first page of an AppNote for  Lotus  1-2-3.  The  entire
  6736.       AppNote can be found in APPNOTES.LZH.
  6737.  
  6738.    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  6739.    %                            Application Notes                             %
  6740.    %                  Lotus 1-2-3 V2 Spreadsheet Class (wk1)                  %
  6741.    %                                                                          %
  6742.    % Class                                                                    %
  6743.    %                                                                          %
  6744.    %    wk1  --  These  objects  are  spreadsheets  produced  by Lotus 1-2-3, %
  6745.    %             Version 2.X.                                                 %
  6746.    %                                                                          %
  6747.    % Relevant Software                                                        %
  6748.    %                                                                          %
  6749.    %    Lotus 1-2-3, commercial spreadsheet program from the  Lotus  Develop- %
  6750.    %    ment Corp.                                                            %
  6751.    %                                                                          %
  6752.    % How to Use This Class with InContext                                     %
  6753.    %                                                                          %
  6754.    %    There are at least two ways to encapsulate Lotus 1-2-3 for use within %
  6755.    %    InContext.  The  problem to be overcome is that Lotus 1-2-3 is one of %
  6756.    %    those programs that  fails  to  provide  a  command-line  switch  for %
  6757.    %    specifying which file you want to run it on.                          %
  6758.    %                                                                          %
  6759.    %    One  approach  to  encapsulating  1-2-3  makes  use of its "autoload" %
  6760.    %    feature. Whenever Lotus 1-2-3 is  started,  it  looks  for  the  file %
  6761.    %    "auto123.wk1",  and loads it automatically if found. Thus, one way of %
  6762.    %    causing 1-2-3 to automatically load a selected file is to  rename  it %
  6763.    %    to "autoexec.wk1", edit the file with 1-2-3, and then rename it back. %
  6764.    %    In this approach, the "Edit" procedure would be:                      %
  6765.    %                                                                          %
  6766.    %         ren %f auto123.wk1                                               %
  6767.    %         123                                                              %
  6768.    %         ren auto123.wk1 %f                                               %
  6769.    %                                                                          %
  6770.    %    This approach works well and allows you to place your spreadsheets in %
  6771.    %    whatever  directories  you  like.  It allows you to have spreadsheets %
  6772.    %    with a variety of class names. You could, for example,  establish  an %
  6773.    %    "exp"  class  for  expense  reports,  a  "tax"  class for tax record- %
  6774.    %    keeping, etc. The disadvantage of this approach is that  1-2-3  isn't %
  6775.    %    aware of the actual object name. If, for example, you want to produce %
  6776.    %    a  printer-output  file  ("prn"), you will have to manually enter the %
  6777.    %    desired filename.                                                     %
  6778.    %                                                                          %
  6779.    % Lotus 1-2-3 AppNotes               -1-                     wk1 (1/30/91) %
  6780.    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  6781.  
  6782.  
  6783.    InContxt.DOC                      -111-                      August 1991
  6784.  
  6785.  
  6786.  
  6787.  
  6788.    InContext User Guide                      EXAMPLES AND APPLICATION NOTES
  6789.  
  6790.  
  6791.    A Tool AppNote: 4PRINT Laser Print Utility
  6792.    ------------------------------------------
  6793.  
  6794.       Shown below is an AppNote for a utility program.
  6795.  
  6796.    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  6797.    %                            Application Notes                             %
  6798.    %                4PRINT ASCII File Printing Utility (none)                 %
  6799.    %                                                                          %
  6800.    % Program                                                                  %
  6801.    %                                                                          %
  6802.    %    4PRINT -- Jim Korenthal's laser printing utility for ASCII files      %
  6803.    %                                                                          %
  6804.    % Relevant Software                                                        %
  6805.    %                                                                          %
  6806.    %    The  4PRINT  program  is  an excellent shareware printing utility for %
  6807.    %    those who have a Hewlett-Packard LaserJet or compatible  printer.  It %
  6808.    %    prints  two  (and  even  three) pages side-by-side in landscape mode, %
  6809.    %    using an enclosed small font. It also supports printing on both sides %
  6810.    %    of the paper. Thus, four (six) pages of information can be printed on %
  6811.    %    each sheet of paper. The result is very readable and, in my  opinion, %
  6812.    %    more  convenient  to  use than the normal-sized DOS printout. That it %
  6813.    %    also substantially reduces costs is an added bonus.                   %
  6814.    %                                                                          %
  6815.    %    Registration cost for this program is $49.95. This program is  avail- %
  6816.    %    able on the Rams' Island BBS, and from                                %
  6817.    %                                                                          %
  6818.    %         Korenthal Associates, Inc.          Orders: (800) KA-PROGS       %
  6819.    %         230 West 13th Street                Info:   (212) 242-1790       %
  6820.    %         New York, New York 10011            CompuServe: 76004,2605       %
  6821.    %                                                                          %
  6822.    % How to Use This Program with InContext                                   %
  6823.    %                                                                          %
  6824.    %    To  use this program, simply substitute the following procedure (or a %
  6825.    %    similar one that  uses  4PRINT  the  way  you  prefer)  in  both  the %
  6826.    %    "printTxt" macro and the "incPrint" macro:                            %
  6827.    %                                                                          %
  6828.    %       4print %f                                                          %
  6829.    %                                                                          %
  6830.    % Author                                                                   %
  6831.    %                                                                          %
  6832.    %    H. Rudy Ramsey                           Phone: 203-426-3782          %
  6833.    %    Rams' Island Software                    CompuServe: 76244,324        %
  6834.    %    8 Grand Place, Newtown, CT 06470-2114    BBS: 203-426-2687            %
  6835.    %                                                                          %
  6836.    % 4PRINT AppNotes                    -1-                     none (2/1/91) %
  6837.    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  6838.  
  6839.  
  6840.  
  6841.  
  6842.    InContxt.DOC                      -112-                      August 1991
  6843.